From 8f6aa480b5c9cd9c6f1b8243da6ee234394af82c Mon Sep 17 00:00:00 2001 From: Christian Schneppe Date: Sat, 26 Jan 2019 15:51:05 +0100 Subject: small layout fixes --- src/main/res/layout/account_row.xml | 5 +++++ src/main/res/layout/activity_import_backup.xml | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'src/main/res/layout') diff --git a/src/main/res/layout/account_row.xml b/src/main/res/layout/account_row.xml index d6831ac26..f99f6c0dd 100644 --- a/src/main/res/layout/account_row.xml +++ b/src/main/res/layout/account_row.xml @@ -6,6 +6,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:background="?android:selectableItemBackground" + android:paddingStart="8dp" android:paddingLeft="8dp" android:paddingTop="8dp" android:paddingBottom="8dp"> @@ -14,6 +15,7 @@ android:id="@+id/account_image" android:layout_width="48dp" android:layout_height="48dp" + android:layout_alignParentStart="true" android:layout_alignParentLeft="true" android:contentDescription="@string/account_image_description" app:riv_corner_radius="2dp" /> @@ -24,8 +26,10 @@ android:layout_centerVertical="true" android:layout_toStartOf="@+id/tgl_account_status" android:layout_toLeftOf="@+id/tgl_account_status" + android:layout_toEndOf="@+id/account_image" android:layout_toRightOf="@+id/account_image" android:orientation="vertical" + android:paddingStart="@dimen/avatar_item_distance" android:paddingLeft="@dimen/avatar_item_distance"> + android:background="?attr/color_background_tertiary"> -- cgit v1.2.3