Android - drawable with rounded corners at the top only
I had this drawable to have a rounded rectangle as a background: <shape xmlns:android="http://schemas.android.com/apk/res/android"> <solid android:color="@color/white" /> <stroke android:width="1dp" android:color="@color/light_gray" /> <padding android:left="10dp" android:top="10dp" android:right="10dp" android:bottom="10dp" /> <corners android:radius="6dp" /> </shape> This is working fine, as expected. Now, I want to change this to only round the top corners, so I change it to this: <shape xmlns:android="http://schemas.android.com/apk/res/android"> <solid android:color="@color/white" />