From e2a5f2048ef390abe02b39803ec2cf8415f325c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20B=C3=A9raud?= <adrienberaud@gmail.com> Date: Thu, 19 Sep 2013 10:35:15 +1000 Subject: [PATCH] Padding for account list items. --- res/layout/item_account.xml | 34 ++++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/res/layout/item_account.xml b/res/layout/item_account.xml index 2ebaca89f..14f9e7197 100644 --- a/res/layout/item_account.xml +++ b/res/layout/item_account.xml @@ -1,23 +1,29 @@ <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="wrap_content" > + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:padding="4dp" > <TextView - android:id="@+id/account_alias" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_alignParentLeft="true" - android:layout_alignParentTop="true" - android:textAppearance="?android:attr/textAppearanceLarge" /> + android:id="@+id/account_alias" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentLeft="true" + android:layout_alignParentTop="true" + android:layout_marginBottom="4dp" + android:layout_marginLeft="4dp" + android:text="" + android:textAppearance="?android:attr/textAppearanceLarge" /> <TextView - android:id="@+id/account_host" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_alignParentLeft="true" - android:layout_below="@+id/account_alias" - android:textAppearance="?android:attr/textAppearanceSmall" /> + android:id="@+id/account_host" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentLeft="true" + android:layout_below="@+id/account_alias" + android:layout_marginLeft="4dp" + android:text="" + android:textAppearance="?android:attr/textAppearanceSmall" /> <RadioButton android:id="@+id/account_checked" -- GitLab