aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res/layout/key_list_fragment.xml
diff options
context:
space:
mode:
authorDominik Schürmann <dominik@dominikschuermann.de>2014-09-18 13:55:23 +0200
committerDominik Schürmann <dominik@dominikschuermann.de>2014-09-18 13:55:23 +0200
commitac66f6cc1043cf79896cf063be2358a0b08e2ac5 (patch)
tree00d99a2296f05a34e2d8258063baa60be95c99e7 /OpenKeychain/src/main/res/layout/key_list_fragment.xml
parent91e97d03a1a436b8a13e423f34643586bb343e4a (diff)
downloadopen-keychain-ac66f6cc1043cf79896cf063be2358a0b08e2ac5.tar.gz
open-keychain-ac66f6cc1043cf79896cf063be2358a0b08e2ac5.tar.bz2
open-keychain-ac66f6cc1043cf79896cf063be2358a0b08e2ac5.zip
Swipe-to-refresh fixes
Diffstat (limited to 'OpenKeychain/src/main/res/layout/key_list_fragment.xml')
-rw-r--r--OpenKeychain/src/main/res/layout/key_list_fragment.xml13
1 files changed, 10 insertions, 3 deletions
diff --git a/OpenKeychain/src/main/res/layout/key_list_fragment.xml b/OpenKeychain/src/main/res/layout/key_list_fragment.xml
index 6af40106d..69096f03e 100644
--- a/OpenKeychain/src/main/res/layout/key_list_fragment.xml
+++ b/OpenKeychain/src/main/res/layout/key_list_fragment.xml
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<org.sufficientlysecure.keychain.ui.widget.ListAwareSwipeRefreshLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
+<org.sufficientlysecure.keychain.ui.widget.ListAwareSwipeRefreshLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/key_list_swipe_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
@@ -9,6 +8,7 @@
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
+
<se.emilsjolander.stickylistheaders.StickyListHeadersListView
android:id="@+id/key_list_list"
android:layout_width="match_parent"
@@ -20,6 +20,7 @@
android:paddingLeft="16dp"
android:paddingRight="32dp"
android:scrollbarStyle="outsideOverlay" />
+
<LinearLayout
android:id="@+id/key_list_empty"
android:layout_width="match_parent"
@@ -27,18 +28,21 @@
android:gravity="center"
android:orientation="vertical"
android:visibility="visible">
+
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:text="@string/key_list_empty_text1"
android:textAppearance="?android:attr/textAppearanceLarge" />
+
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:text=""
android:textAppearance="?android:attr/textAppearanceLarge" />
+
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
@@ -46,6 +50,7 @@
android:gravity="center"
android:text="@string/key_list_empty_text2"
android:textAppearance="?android:attr/textAppearanceSmall" />
+
<Button
android:id="@+id/key_list_empty_button_create"
android:layout_width="wrap_content"
@@ -55,7 +60,8 @@
android:text="@string/key_list_empty_button_create"
android:drawableLeft="@drawable/ic_action_new_account"
android:drawablePadding="8dp"
- android:background="@drawable/button_edgy"/>
+ android:background="@drawable/button_edgy" />
+
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
@@ -63,6 +69,7 @@
android:gravity="center"
android:text="@string/key_list_empty_text3"
android:textAppearance="?android:attr/textAppearanceSmall" />
+
<Button
android:id="@+id/key_list_empty_button_import"
android:layout_width="wrap_content"