Android XML half Circle Drawable

Half Circle Image for android xml
<?xml version="1.0" encoding="utf-8"?>
<shape
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:shape="rectangle">
    <solid android:color="ADD_BACKGROUND_COLOR"/>
    <size
        android:width="40dp"
        android:height="20dp"/>
    <corners
        android:bottomLeftRadius="50dp"
        android:bottomRightRadius="50dp"/>
    <stroke android:color="@color/YOUR_COLOR"
        android:width="1dp"
        />
</shape>

Tags:,