aboutsummaryrefslogtreecommitdiffstats
path: root/OpenPGP-Keychain/src/main/res/layout/drawer_list_item.xml
diff options
context:
space:
mode:
authorAshley Hughes <spirit.returned@gmail.com>2014-02-22 10:27:03 +0000
committerAshley Hughes <spirit.returned@gmail.com>2014-02-22 10:27:03 +0000
commit1b25ec5a0c011f5024d5f14f9919645a455e8a41 (patch)
treef819ac3cea715f3c5cfc5f40bbf8673013ccc7ff /OpenPGP-Keychain/src/main/res/layout/drawer_list_item.xml
parentc3c311152ef33a6887909dbbeae40e8d01f96a9d (diff)
parentd1e8acd3027dce6fd34620b67a2d2be1634822cf (diff)
downloadopen-keychain-1b25ec5a0c011f5024d5f14f9919645a455e8a41.tar.gz
open-keychain-1b25ec5a0c011f5024d5f14f9919645a455e8a41.tar.bz2
open-keychain-1b25ec5a0c011f5024d5f14f9919645a455e8a41.zip
master merge
Diffstat (limited to 'OpenPGP-Keychain/src/main/res/layout/drawer_list_item.xml')
-rw-r--r--OpenPGP-Keychain/src/main/res/layout/drawer_list_item.xml25
1 files changed, 15 insertions, 10 deletions
diff --git a/OpenPGP-Keychain/src/main/res/layout/drawer_list_item.xml b/OpenPGP-Keychain/src/main/res/layout/drawer_list_item.xml
index 14760e79d..72f4fec50 100644
--- a/OpenPGP-Keychain/src/main/res/layout/drawer_list_item.xml
+++ b/OpenPGP-Keychain/src/main/res/layout/drawer_list_item.xml
@@ -1,28 +1,33 @@
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:fontawesometext="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal" >
+ android:layout_height="wrap_content">
<com.beardedhen.androidbootstrap.FontAwesomeText
android:id="@+id/drawer_item_icon"
- android:layout_width="32dp"
- android:layout_height="32dp"
- android:layout_margin="10dp"
+ android:layout_width="30dp"
+ android:layout_height="wrap_content"
android:gravity="center_vertical"
android:textSize="24sp"
- fontawesometext:fa_icon="fa-github" />
+ android:layout_marginLeft="8dp"
+ fontawesometext:fa_icon="fa-github"
+ android:layout_centerVertical="true"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentStart="true" />
<TextView
android:id="@+id/drawer_item_text"
+ android:text="Test"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
+ android:layout_marginLeft="8dp"
android:paddingBottom="16dp"
- android:paddingLeft="4dp"
android:paddingRight="16dp"
android:paddingTop="16dp"
android:textAppearance="@android:style/TextAppearance.Medium"
- android:textColor="#111" />
+ android:textColor="#111"
+ android:layout_alignParentTop="true"
+ android:layout_toRightOf="@+id/drawer_item_icon" />
-</LinearLayout>
+</RelativeLayout>