Some box help

satya - 11/10/2013 9:31:06 AM

black_box.xml


<shape xmlns:android="http://schemas.android.com/apk/res/android">
    <solid android:color="#1e000000"/>
    <padding android:left="1dp" android:top="1dp"
            android:right="1dp" android:bottom="1dp" />
</shape>

satya - 11/10/2013 9:31:27 AM

opaque


<shape xmlns:android="http://schemas.android.com/apk/res/android">
    <solid android:color="#56000000"/>
    <padding android:left="1dp" android:top="1dp"
            android:right="1dp" android:bottom="1dp" />
</shape>

satya - 11/10/2013 9:31:52 AM

just a box with stroke and solid


<shape xmlns:android="http://schemas.android.com/apk/res/android">
    <solid android:color="#00000000"/>
    <stroke android:width="1dp" color="#ff000000"/>
    <padding android:left="1dp" android:top="1dp"
        android:right="1dp" android:bottom="1dp" />
</shape>

satya - 11/10/2013 9:32:15 AM

with corners


<shape xmlns:android="http://schemas.android.com/apk/res/android">
    <solid android:color="#f0600000"/>
    <stroke android:width="3dp" color="#ffff8080"/>
    <corners android:radius="3dp" />
    <padding android:left="10dp" android:top="10dp"
        android:right="10dp" android:bottom="10dp" />
</shape>

satya - 11/10/2013 9:33:34 AM

Something I used before


<shape xmlns:android="http://schemas.android.com/apk/res/android"> 
    <stroke android:width="4dp" android:color="#888888" /> 
    <padding android:left="2dp" android:top="2dp" 
            android:right="2dp" android:bottom="2dp" /> 
    <corners android:radius="4dp" /> 
    />
</shape>