From c4e22f5512570d05178711ba90c28eb6dc288253 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Tue, 6 Jun 2017 00:43:57 -0700 Subject: Beautify accounts selector --- app/src/main/res/layout/activity_selector.xml | 39 +++++++++++++++------------ app/src/main/res/layout/view_account.xml | 14 +++++++--- 2 files changed, 32 insertions(+), 21 deletions(-) (limited to 'app/src/main/res/layout') diff --git a/app/src/main/res/layout/activity_selector.xml b/app/src/main/res/layout/activity_selector.xml index f238d2ff..e7332925 100644 --- a/app/src/main/res/layout/activity_selector.xml +++ b/app/src/main/res/layout/activity_selector.xml @@ -4,17 +4,20 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" - android:layout_marginBottom="@dimen/activity_vertical_margin" - android:layout_marginEnd="@dimen/activity_horizontal_margin" - android:layout_marginStart="@dimen/activity_horizontal_margin" - android:layout_marginTop="@dimen/activity_vertical_margin"> + android:background="@color/facebook_blue" + android:paddingBottom="@dimen/activity_vertical_margin" + android:paddingEnd="@dimen/activity_horizontal_margin" + android:paddingStart="@dimen/activity_horizontal_margin" + android:paddingTop="@dimen/activity_vertical_margin"> - + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/view_account.xml b/app/src/main/res/layout/view_account.xml index 676b46d6..92486184 100644 --- a/app/src/main/res/layout/view_account.xml +++ b/app/src/main/res/layout/view_account.xml @@ -7,12 +7,18 @@ + android:layout_width="@dimen/account_image_size" + android:layout_height="@dimen/account_image_size" /> + + + android:maxLines="1" + android:textAlignment="center" + android:textColor="@android:color/white" /> \ No newline at end of file -- cgit v1.2.3