From f5da63f9882e1807c6bd2adb5205ad7482c45339 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Sch=C3=BCrmann?= Date: Thu, 2 Jan 2014 21:10:08 +0100 Subject: New list with sticky list headers library --- OpenPGP-Keychain/res/drawable/header_selector.xml | 7 +++++++ .../res/layout/key_list_public_activity.xml | 13 +------------ .../res/layout/key_list_public_fragment.xml | 14 ++++++++++++++ .../res/layout/key_list_secret_activity.xml | 13 +------------ OpenPGP-Keychain/res/layout/stickylist_header.xml | 17 +++++++++++++++++ OpenPGP-Keychain/res/values/colors.xml | 5 ++++- OpenPGP-Keychain/res/values/strings.xml | 1 - 7 files changed, 44 insertions(+), 26 deletions(-) create mode 100644 OpenPGP-Keychain/res/drawable/header_selector.xml create mode 100644 OpenPGP-Keychain/res/layout/key_list_public_fragment.xml create mode 100644 OpenPGP-Keychain/res/layout/stickylist_header.xml (limited to 'OpenPGP-Keychain/res') diff --git a/OpenPGP-Keychain/res/drawable/header_selector.xml b/OpenPGP-Keychain/res/drawable/header_selector.xml new file mode 100644 index 000000000..5dfb8265c --- /dev/null +++ b/OpenPGP-Keychain/res/drawable/header_selector.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/OpenPGP-Keychain/res/layout/key_list_public_activity.xml b/OpenPGP-Keychain/res/layout/key_list_public_activity.xml index a35e23038..07ec253cc 100644 --- a/OpenPGP-Keychain/res/layout/key_list_public_activity.xml +++ b/OpenPGP-Keychain/res/layout/key_list_public_activity.xml @@ -8,18 +8,7 @@ android:id="@+id/key_list_public_fragment" android:name="org.sufficientlysecure.keychain.ui.KeyListPublicFragment" android:layout_width="match_parent" - android:layout_height="match_parent" + android:layout_height="0dip" android:layout_weight="1" /> - - \ No newline at end of file diff --git a/OpenPGP-Keychain/res/layout/key_list_public_fragment.xml b/OpenPGP-Keychain/res/layout/key_list_public_fragment.xml new file mode 100644 index 000000000..052dd4249 --- /dev/null +++ b/OpenPGP-Keychain/res/layout/key_list_public_fragment.xml @@ -0,0 +1,14 @@ + + + + + + \ No newline at end of file diff --git a/OpenPGP-Keychain/res/layout/key_list_secret_activity.xml b/OpenPGP-Keychain/res/layout/key_list_secret_activity.xml index d4397c444..b8df9faa7 100644 --- a/OpenPGP-Keychain/res/layout/key_list_secret_activity.xml +++ b/OpenPGP-Keychain/res/layout/key_list_secret_activity.xml @@ -8,18 +8,7 @@ android:id="@+id/key_list_secret_fragment" android:name="org.sufficientlysecure.keychain.ui.KeyListSecretFragment" android:layout_width="match_parent" - android:layout_height="match_parent" + android:layout_height="0dip" android:layout_weight="1" /> - - \ No newline at end of file diff --git a/OpenPGP-Keychain/res/layout/stickylist_header.xml b/OpenPGP-Keychain/res/layout/stickylist_header.xml new file mode 100644 index 000000000..475d1c4db --- /dev/null +++ b/OpenPGP-Keychain/res/layout/stickylist_header.xml @@ -0,0 +1,17 @@ + + + + + + \ No newline at end of file diff --git a/OpenPGP-Keychain/res/values/colors.xml b/OpenPGP-Keychain/res/values/colors.xml index d1dc6c1f4..7831a63a0 100644 --- a/OpenPGP-Keychain/res/values/colors.xml +++ b/OpenPGP-Keychain/res/values/colors.xml @@ -3,5 +3,8 @@ #31b6e7 #cecbce - + #ffe74c3c + #ffc0392b + #FFDDDDDD + \ No newline at end of file diff --git a/OpenPGP-Keychain/res/values/strings.xml b/OpenPGP-Keychain/res/values/strings.xml index c3736815c..d900f5a71 100644 --- a/OpenPGP-Keychain/res/values/strings.xml +++ b/OpenPGP-Keychain/res/values/strings.xml @@ -210,7 +210,6 @@ Unknown key %s, do you want to try finding it on a keyserver? Successfully sent key to server Successfully signed key - Long press one entry in this list to show more options! This list is empty! Successfully sent key with NFC Beam! -- cgit v1.2.3