Advertisement
cloud101eu

Cloud101.eu: Calculator drawable/custombuttonred.xml

Mar 10th, 2012
477
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.14 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <selector xmlns:android="http://schemas.android.com/apk/res/android">
  3.     <item android:state_pressed="true" >
  4.         <shape>
  5.             <solid
  6.                android:color="#ef4444" />
  7.             <stroke
  8.                android:width="1dp"
  9.                android:color="#992f2f" />
  10.             <corners
  11.                android:radius="3dp" />
  12.             <padding
  13.                android:left="10dp"
  14.                android:top="10dp"
  15.                android:right="10dp"
  16.                android:bottom="10dp" />
  17.         </shape>
  18.     </item>
  19.     <item>
  20.         <shape>
  21.             <gradient
  22.                android:startColor="#ef4444"
  23.                android:endColor="#992f2f"
  24.                android:angle="270" />
  25.             <stroke
  26.                android:width="1dp"
  27.                android:color="#992f2f" />
  28.             <corners
  29.                android:radius="3dp" />
  30.             <padding
  31.                android:left="10dp"
  32.                android:top="10dp"
  33.                android:right="10dp"
  34.                android:bottom="10dp" />
  35.         </shape>
  36.     </item>
  37. </selector>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement