diff options
author | Christian Schneppe <christian@pix-art.de> | 2019-01-26 15:51:05 +0100 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2019-01-26 15:51:05 +0100 |
commit | 8f6aa480b5c9cd9c6f1b8243da6ee234394af82c (patch) | |
tree | 54939c94d6b26d98614b06e1092a5dcf610abf4d /src/main/res/layout | |
parent | 05c1aa03779b6bf2a45e2ab89cb7e7f486eac037 (diff) |
small layout fixes
Diffstat (limited to 'src/main/res/layout')
-rw-r--r-- | src/main/res/layout/account_row.xml | 5 | ||||
-rw-r--r-- | src/main/res/layout/activity_import_backup.xml | 6 |
2 files changed, 8 insertions, 3 deletions
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"> <TextView @@ -48,6 +52,7 @@ android:id="@+id/tgl_account_status" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:layout_alignParentEnd="true" android:layout_alignParentRight="true" android:layout_centerVertical="true" android:focusable="false" diff --git a/src/main/res/layout/activity_import_backup.xml b/src/main/res/layout/activity_import_backup.xml index e9ee433fe..7d12f78c9 100644 --- a/src/main/res/layout/activity_import_backup.xml +++ b/src/main/res/layout/activity_import_backup.xml @@ -6,7 +6,7 @@ <LinearLayout android:layout_width="fill_parent" android:layout_height="fill_parent" - android:background="?attr/color_background_primary" + android:background="?attr/color_background_tertiary" android:orientation="vertical"> <include @@ -30,13 +30,13 @@ android:id="@+id/coordinator" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="?attr/color_background_primary"> + android:background="?attr/color_background_tertiary"> <android.support.v7.widget.RecyclerView android:id="@+id/list" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="?attr/color_background_primary" + android:background="?attr/color_background_tertiary" android:orientation="vertical" app:layoutManager="android.support.v7.widget.LinearLayoutManager" /> </android.support.design.widget.CoordinatorLayout> |