diff options
author | Steve Slaven <bpk@hoopajoo.net> | 2010-12-23 22:14:53 (GMT) |
---|---|---|
committer | Steve Slaven <bpk@hoopajoo.net> | 2010-12-23 22:14:53 (GMT) |
commit | 08928516c0c9f1514c61f6c795c3931922d805ed (patch) | |
tree | 483bb58ca7fd0eb666907a0b3beb71f237c73f3b /samples/drawable | |
download | SoftKeys.Theme-template-master.zip SoftKeys.Theme-template-master.tar.gz SoftKeys.Theme-template-master.tar.bz2 |
Diffstat (limited to 'samples/drawable')
-rw-r--r-- | samples/drawable/button_bg.xml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/samples/drawable/button_bg.xml b/samples/drawable/button_bg.xml new file mode 100644 index 0000000..dd54065 --- /dev/null +++ b/samples/drawable/button_bg.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?> +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:state_pressed="true"> + <shape android:shape="rectangle"> + <gradient + android:startColor="#111" + android:endColor="#000" + /> + </shape> + </item> + <item> + <shape android:shape="rectangle"> + <gradient + android:startColor="#111" + android:endColor="#222" + /> + </shape> + </item> +</selector> |