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="#118F05" android:centerColor="#659B08" android:endColor="@color/yellowcolor" /> <corners android:radius="5dp" /> </shape> </item> </selector>