1 2 3 4 5 6 7 8 9 10 11 12 13 14
<?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item> <shape android:shape="rectangle"> <gradient android:startColor="@color/yellowcolor" android:centerColor="#8B9D09" android:endColor="#118F05" /> <corners android:radius="5dp" /> </shape> </item> </selector>