rounded.xml (659B)
1 <?xml version="1.0" encoding="utf-8"?> 2 <shape xmlns:android="http://schemas.android.com/apk/res/android"> 3 4 <!-- A stroke line for the shape --> 5 <stroke android:width="1dp" android:color="@color/ibcborder" /> 6 7 <!-- A solid color to fill the shape --> 8 <solid android:color="@color/ibcgrey" /> 9 10 <!-- 11 <gradient android:startColor="@color/ibcgrey" 12 android:endColor="@color/ibcgrey2" android:angle="225"/> 13 --> 14 15 <!-- Creates rounded corners for the shape --> 16 <corners android:radius="10dip" /> 17 18 <!-- Padding to apply to the containing View element --> 19 <padding android:left="3dp" android:top="3dp" android:right="3dp" 20 android:bottom="3dp" /> 21 </shape>