Create a drawable with rounded top corners and a border on bottom
问题 This is what I came up with. <?xml version="1.0" encoding="utf-8"?> <layer-list xmlns:android="http://schemas.android.com/apk/res/android" > <item> <shape android:shape="rectangle" > <solid android:color="@color/grey" /> <padding android:bottom="1dp" /> <corners android:radius="0dp"/> </shape> </item> <item> <shape android:shape="rectangle" > <solid android:color="@color/white" /> <corners android:radius="1dp" android:bottomRightRadius="0dp" android:bottomLeftRadius="0dp" android