From 1f1de0ce06dabf533840fd346f61854b8b0c8330 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Sch=C3=BCrmann?= Date: Wed, 5 Feb 2014 00:19:32 +0100 Subject: [PATCH] better alignment of navigation drawer icons --- .../src/main/res/layout/drawer_list_item.xml | 25 +++++++++++-------- 1 file 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..bf70b2de7 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 @@ - + android:layout_height="wrap_content"> + android:layout_marginLeft="8dp" + fontawesometext:fa_icon="fa-github" + android:layout_centerVertical="true" + android:layout_alignParentLeft="true" + android:layout_alignParentStart="true" /> + android:textColor="#111" + android:layout_alignParentTop="true" + android:layout_toRightOf="@+id/drawer_item_icon" /> - +