aboutsummaryrefslogtreecommitdiffstats
path: root/OpenPGP-Keychain/res/layout/key_list_public_fragment.xml
diff options
context:
space:
mode:
authorDominik Schürmann <dominik@dominikschuermann.de>2014-01-02 22:01:25 +0100
committerDominik Schürmann <dominik@dominikschuermann.de>2014-01-02 22:01:25 +0100
commitfaabf8eca264d2fa41d467e66e546f724281c47c (patch)
treee402c61b901cc0c30d4e7dc408699dda775301f7 /OpenPGP-Keychain/res/layout/key_list_public_fragment.xml
parent3b5878f86dd9bb1fbd88f02473fd7e7238689b11 (diff)
downloadopen-keychain-faabf8eca264d2fa41d467e66e546f724281c47c.tar.gz
open-keychain-faabf8eca264d2fa41d467e66e546f724281c47c.tar.bz2
open-keychain-faabf8eca264d2fa41d467e66e546f724281c47c.zip
fixing some layout problems
Diffstat (limited to 'OpenPGP-Keychain/res/layout/key_list_public_fragment.xml')
-rw-r--r--OpenPGP-Keychain/res/layout/key_list_public_fragment.xml25
1 files changed, 20 insertions, 5 deletions
diff --git a/OpenPGP-Keychain/res/layout/key_list_public_fragment.xml b/OpenPGP-Keychain/res/layout/key_list_public_fragment.xml
index 052dd4249..451230a1f 100644
--- a/OpenPGP-Keychain/res/layout/key_list_public_fragment.xml
+++ b/OpenPGP-Keychain/res/layout/key_list_public_fragment.xml
@@ -2,13 +2,28 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:orientation="vertical"
- android:paddingLeft="8dp"
- android:paddingRight="8dp" >
+ android:orientation="vertical" >
<se.emilsjolander.stickylistheaders.StickyListHeadersListView
- android:id="@+id/key_list_public_fragment_stickylist"
+ android:id="@+id/list"
android:layout_width="match_parent"
- android:layout_height="match_parent" />
+ android:layout_height="match_parent"
+ android:clipToPadding="false"
+ android:drawSelectorOnTop="true"
+ android:fastScrollEnabled="true"
+ android:paddingBottom="16dp"
+ android:paddingLeft="16dp"
+ android:paddingRight="32dp"
+ android:paddingTop="16dp"
+ android:scrollbarStyle="outsideOverlay" />
+
+ <TextView
+ android:id="@+id/empty"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:gravity="center"
+ android:text="@string/list_empty"
+ android:textSize="30sp"
+ android:visibility="gone" />
</LinearLayout> \ No newline at end of file