diff options
author | Daniel Albert <albert_daniel@t-online.de> | 2014-06-29 22:31:37 +0200 |
---|---|---|
committer | Daniel Albert <albert_daniel@t-online.de> | 2014-06-29 22:31:37 +0200 |
commit | 24068428471addfe9bad99a96b7fb1acda33018c (patch) | |
tree | 4a9b3f63b28893ba768613346f89e6bdc7854d1c /OpenKeychain/src/main/res/drawable | |
parent | e8bb14ca260f230559f2c6ebc898dd498b9a9874 (diff) | |
download | open-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')
3 files changed, 77 insertions, 3 deletions
diff --git a/OpenKeychain/src/main/res/drawable/button_edgy.xml b/OpenKeychain/src/main/res/drawable/button_edgy.xml index d296642b8..fdb94d40e 100644 --- a/OpenKeychain/src/main/res/drawable/button_edgy.xml +++ b/OpenKeychain/src/main/res/drawable/button_edgy.xml @@ -8,8 +8,8 @@ android:left="6dip" android:right="6dip" android:top="6dip" /> + <solid android:color="#ebebeb" /> <stroke android:color="#cccccc" android:width="1.5dip" /> - <stroke android:color="#ebebeb" /> </shape> </item> <item android:state_focused="true"> @@ -19,8 +19,8 @@ android:left="6dip" android:right="6dip" android:top="6dip" /> - <stroke android:color="#cccccc" android:width="1.5dip" /> <solid android:color="#ebebeb"/> + <stroke android:color="#cccccc" android:width="1.5dip" /> </shape> </item> <item > @@ -30,8 +30,8 @@ android:left="6dip" android:right="6dip" android:top="6dip" /> - <stroke android:color="#cccccc" android:width="1.5dip" /> <solid android:color="#ffffff" /> + <stroke android:color="#cccccc" android:width="1.5dip" /> </shape> </item> </selector>
\ No newline at end of file diff --git a/OpenKeychain/src/main/res/drawable/button_rounded_green.xml b/OpenKeychain/src/main/res/drawable/button_rounded_green.xml new file mode 100644 index 000000000..fc12fdf05 --- /dev/null +++ b/OpenKeychain/src/main/res/drawable/button_rounded_green.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="#47a447" /> + </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="#47a447"/> + </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="#5cb85c" /> + </shape> + </item> +</selector>
\ No newline at end of file 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 |