From f32a74551c13596f822e087f94ea3e9448931076 Mon Sep 17 00:00:00 2001 From: Andy Scherzinger Date: Thu, 19 Nov 2020 10:33:40 +0100 Subject: [PATCH] optimize toolbar layout after accessibility improvements Signed-off-by: Andy Scherzinger --- src/main/res/layout/toolbar_standard.xml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/main/res/layout/toolbar_standard.xml b/src/main/res/layout/toolbar_standard.xml index c36dd0cf76..fd70d22bf2 100644 --- a/src/main/res/layout/toolbar_standard.xml +++ b/src/main/res/layout/toolbar_standard.xml @@ -48,7 +48,7 @@ style="@style/Widget.MaterialComponents.Button.TextButton" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginStart="8dp" + android:layout_marginStart="7dp" android:contentDescription="@string/actionbar_sort" android:minWidth="0dp" android:text="@string/menu_item_sort_by_date_newest_first" @@ -69,7 +69,7 @@ style="@style/Widget.AppTheme.Button.IconButton" android:layout_width="48dp" android:layout_height="48dp" - android:layout_marginEnd="4dp" + android:layout_marginEnd="1dp" android:contentDescription="@string/action_switch_grid_view" app:cornerRadius="24dp" app:icon="@drawable/ic_view_module" @@ -149,7 +149,6 @@ style="@style/Widget.AppTheme.Button.IconButton" android:layout_width="48dp" android:layout_height="48dp" - android:layout_marginStart="8dp" android:contentDescription="@string/action_switch_grid_view" app:cornerRadius="@dimen/button_corner_radius" app:icon="@drawable/ic_menu" @@ -162,7 +161,7 @@ android:id="@+id/search_text" android:layout_width="0dp" android:layout_height="48dp" - android:layout_marginStart="18dp" + android:layout_marginStart="13dp" android:layout_marginEnd="18dp" android:ellipsize="end" android:gravity="start|center_vertical" @@ -180,7 +179,6 @@ style="@style/Widget.AppTheme.Button.IconButton" android:layout_width="48dp" android:layout_height="48dp" - android:layout_marginEnd="6dp" app:cornerRadius="@dimen/button_corner_radius" app:iconSize="30dp" app:layout_constraintBottom_toBottomOf="parent"