From c74d8cf4994b93917eadeed3f4fd5407dc2534df Mon Sep 17 00:00:00 2001 From: arkon Date: Mon, 15 Nov 2021 09:51:02 -0500 Subject: [PATCH] Fix overflowed action toolbar items --- app/src/main/res/layout/action_toolbar.xml | 3 ++- app/src/main/res/menu/chapter_selection.xml | 24 ++++++++++++------- app/src/main/res/menu/library_selection.xml | 18 +++++++++----- .../res/menu/updates_chapter_selection.xml | 21 ++++++++++------ 4 files changed, 44 insertions(+), 22 deletions(-) diff --git a/app/src/main/res/layout/action_toolbar.xml b/app/src/main/res/layout/action_toolbar.xml index 540cdfe60..ae507c0ee 100644 --- a/app/src/main/res/layout/action_toolbar.xml +++ b/app/src/main/res/layout/action_toolbar.xml @@ -25,7 +25,8 @@ + android:layout_height="match_parent" + android:layout_gravity="center" /> diff --git a/app/src/main/res/menu/chapter_selection.xml b/app/src/main/res/menu/chapter_selection.xml index a6f241e1f..8e33d4056 100644 --- a/app/src/main/res/menu/chapter_selection.xml +++ b/app/src/main/res/menu/chapter_selection.xml @@ -1,54 +1,62 @@ + xmlns:app="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools"> + app:showAsAction="always" + tools:ignore="AlwaysShowAction" /> + app:showAsAction="always" + tools:ignore="AlwaysShowAction" /> + app:showAsAction="always" + tools:ignore="AlwaysShowAction" /> + app:showAsAction="always" + tools:ignore="AlwaysShowAction" /> + app:showAsAction="always" + tools:ignore="AlwaysShowAction" /> + app:showAsAction="always" + tools:ignore="AlwaysShowAction" /> + app:showAsAction="always" + tools:ignore="AlwaysShowAction" /> diff --git a/app/src/main/res/menu/library_selection.xml b/app/src/main/res/menu/library_selection.xml index d5c0ff465..0d109bbc1 100644 --- a/app/src/main/res/menu/library_selection.xml +++ b/app/src/main/res/menu/library_selection.xml @@ -1,40 +1,46 @@ + xmlns:app="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools"> + app:showAsAction="always" + tools:ignore="AlwaysShowAction" /> + app:showAsAction="always" + tools:ignore="AlwaysShowAction" /> + app:showAsAction="always" + tools:ignore="AlwaysShowAction" /> + app:showAsAction="always" + tools:ignore="AlwaysShowAction" /> + app:showAsAction="always" + tools:ignore="AlwaysShowAction" /> diff --git a/app/src/main/res/menu/updates_chapter_selection.xml b/app/src/main/res/menu/updates_chapter_selection.xml index 8fe1d6c62..2a3387850 100644 --- a/app/src/main/res/menu/updates_chapter_selection.xml +++ b/app/src/main/res/menu/updates_chapter_selection.xml @@ -1,5 +1,6 @@ - + app:showAsAction="always" + tools:ignore="AlwaysShowAction" /> + app:showAsAction="always" + tools:ignore="AlwaysShowAction" /> + app:showAsAction="always" + tools:ignore="AlwaysShowAction" /> + app:showAsAction="always" + tools:ignore="AlwaysShowAction" /> + app:showAsAction="always" + tools:ignore="AlwaysShowAction" /> + app:showAsAction="always" + tools:ignore="AlwaysShowAction" />