I'm trying to create a drawable shape background that shoud look like this (the orange shape):
Now, i'm working with the layer list element and two shape, a rectangle and an oval, to try to achieve that, but the result are unsatisfactory. That's my code. Thanks to everyone for the help.
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape android:shape="rectangle">
<size android:height="200dp"
android:width="250dp"/>
<solid android:color="@color/colorBackground"/>
</shape>
</item>
<item android:top="0dp" android:gravity="top">
<shape android:shape="rectangle">
<size android:height="175dp"
android:width="200dp"/>
<solid android:color="@color/colorPrimary"/>
</shape>
</item>
<item android:bottom="0dp"
android:top="0dp"
android:gravity="center_horizontal|bottom">
<shape android:shape="oval">
<size android:height="50dp" />
<solid android:color="@color/colorPrimary"/>
</shape>
</item>
</layer-list>