From: Soren Stoutner Date: Wed, 9 Jun 2021 20:42:42 +0000 (-0700) Subject: Invert the items in the navigation menu when using a bottom appbar. https://redmine... X-Git-Tag: v3.8.1~5 X-Git-Url: https://gitweb.stoutner.com/?p=PrivacyBrowserAndroid.git;a=commitdiff_plain;h=2007d8f56a8d918f6a71407828f715f986d0d92d Invert the items in the navigation menu when using a bottom appbar. https://redmine.stoutner.com/issues/728 --- diff --git a/app/src/main/res/layout/main_framelayout_bottom_appbar.xml b/app/src/main/res/layout/main_framelayout_bottom_appbar.xml index 2f295dfb..98e16b67 100644 --- a/app/src/main/res/layout/main_framelayout_bottom_appbar.xml +++ b/app/src/main/res/layout/main_framelayout_bottom_appbar.xml @@ -207,7 +207,7 @@ android:layout_height="match_parent" android:layout_width="wrap_content" android:layout_gravity="start" - app:menu="@menu/webview_navigation_menu" + app:menu="@menu/webview_navigation_menu_bottom_appbar" app:itemIconTint="?attr/navigationIconTintColor" /> diff --git a/app/src/main/res/layout/main_framelayout_top_appbar.xml b/app/src/main/res/layout/main_framelayout_top_appbar.xml index fd9d426e..5d0da8de 100644 --- a/app/src/main/res/layout/main_framelayout_top_appbar.xml +++ b/app/src/main/res/layout/main_framelayout_top_appbar.xml @@ -203,7 +203,7 @@ android:layout_height="match_parent" android:layout_width="wrap_content" android:layout_gravity="start" - app:menu="@menu/webview_navigation_menu" + app:menu="@menu/webview_navigation_menu_top_appbar" app:itemIconTint="?attr/navigationIconTintColor" /> diff --git a/app/src/main/res/menu/webview_navigation_menu.xml b/app/src/main/res/menu/webview_navigation_menu.xml deleted file mode 100644 index cc939f24..00000000 --- a/app/src/main/res/menu/webview_navigation_menu.xml +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/app/src/main/res/menu/webview_navigation_menu_bottom_appbar.xml b/app/src/main/res/menu/webview_navigation_menu_bottom_appbar.xml new file mode 100644 index 00000000..32c3a029 --- /dev/null +++ b/app/src/main/res/menu/webview_navigation_menu_bottom_appbar.xml @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/menu/webview_navigation_menu_top_appbar.xml b/app/src/main/res/menu/webview_navigation_menu_top_appbar.xml new file mode 100644 index 00000000..cfb10c79 --- /dev/null +++ b/app/src/main/res/menu/webview_navigation_menu_top_appbar.xml @@ -0,0 +1,118 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file