diff options
author | Daniel Albert <albert_daniel@t-online.de> | 2014-06-27 21:03:19 +0200 |
---|---|---|
committer | Daniel Albert <albert_daniel@t-online.de> | 2014-06-27 21:03:19 +0200 |
commit | 567e5cc6a52277dce4f3e1214ff3b247ca26f68f (patch) | |
tree | 0a6a4702acbfeb1a7760b35c6c020747c89d3f4f /OpenKeychain/src/main/res/layout/drawer_list_item.xml | |
parent | 1b90b46b00802c07f68843897fb9e7b5afa29460 (diff) | |
download | open-keychain-567e5cc6a52277dce4f3e1214ff3b247ca26f68f.tar.gz open-keychain-567e5cc6a52277dce4f3e1214ff3b247ca26f68f.tar.bz2 open-keychain-567e5cc6a52277dce4f3e1214ff3b247ca26f68f.zip |
Added unlock icon, fixed drawer items, switched to icons from resource in drawer
Diffstat (limited to 'OpenKeychain/src/main/res/layout/drawer_list_item.xml')
-rw-r--r-- | OpenKeychain/src/main/res/layout/drawer_list_item.xml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/OpenKeychain/src/main/res/layout/drawer_list_item.xml b/OpenKeychain/src/main/res/layout/drawer_list_item.xml index 158e72c01..4719483da 100644 --- a/OpenKeychain/src/main/res/layout/drawer_list_item.xml +++ b/OpenKeychain/src/main/res/layout/drawer_list_item.xml @@ -4,9 +4,10 @@ android:layout_height="wrap_content"> <ImageView - android:layout_width="30 dp" - android:layout_height="wrap_content" android:id="@+id/drawer_item_icon" + android:gravity="center_vertical" + android:layout_width="30dp" + android:layout_height="wrap_content" android:layout_marginLeft="8dp" android:layout_alignParentStart="true" android:layout_alignParentLeft="true" @@ -24,6 +25,7 @@ android:paddingTop="16dp" android:textAppearance="@android:style/TextAppearance.Medium" android:textColor="#111" - android:layout_alignParentTop="true" /> + android:layout_alignParentTop="true" + android:layout_toRightOf="@id/drawer_item_icon"/> </RelativeLayout> |