aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res/drawable/button_rounded_red.xml
diff options
context:
space:
mode:
authorDaniel Albert <albert_daniel@t-online.de>2014-06-29 22:31:37 +0200
committerDaniel Albert <albert_daniel@t-online.de>2014-06-29 22:31:37 +0200
commit24068428471addfe9bad99a96b7fb1acda33018c (patch)
tree4a9b3f63b28893ba768613346f89e6bdc7854d1c /OpenKeychain/src/main/res/drawable/button_rounded_red.xml
parente8bb14ca260f230559f2c6ebc898dd498b9a9874 (diff)
downloadopen-keychain-24068428471addfe9bad99a96b7fb1acda33018c.tar.gz
open-keychain-24068428471addfe9bad99a96b7fb1acda33018c.tar.bz2
open-keychain-24068428471addfe9bad99a96b7fb1acda33018c.zip
Ported even more buttons to use new design (Key and User editor)
Added drawables for them
Diffstat (limited to 'OpenKeychain/src/main/res/drawable/button_rounded_red.xml')
-rw-r--r--OpenKeychain/src/main/res/drawable/button_rounded_red.xml37
1 files changed, 37 insertions, 0 deletions
diff --git a/OpenKeychain/src/main/res/drawable/button_rounded_red.xml b/OpenKeychain/src/main/res/drawable/button_rounded_red.xml
new file mode 100644
index 000000000..330e83939
--- /dev/null
+++ b/OpenKeychain/src/main/res/drawable/button_rounded_red.xml
@@ -0,0 +1,37 @@
+<?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" >
+ <padding
+ android:bottom="6dip"
+ android:left="6dip"
+ android:right="6dip"
+ android:top="6dip" />
+ <corners android:radius="6dip" />
+ <solid android:color="#d2322d" />
+ </shape>
+ </item>
+ <item android:state_focused="true">
+ <shape android:shape="rectangle" >
+ <padding
+ android:bottom="6dip"
+ android:left="6dip"
+ android:right="6dip"
+ android:top="6dip" />
+ <corners android:radius="6dip" />
+ <solid android:color="#d2322d"/>
+ </shape>
+ </item>
+ <item >
+ <shape android:shape="rectangle" >
+ <padding
+ android:bottom="6dip"
+ android:left="6dip"
+ android:right="6dip"
+ android:top="6dip" />
+ <corners android:radius="6dip" />
+ <solid android:color="#d9534f" />
+ </shape>
+ </item>
+</selector> \ No newline at end of file