From 9228c156c871b0175d708499752341af13b028e5 Mon Sep 17 00:00:00 2001 From: androidacy-user Date: Fri, 3 Feb 2023 21:21:38 -0500 Subject: [PATCH] begin switch to md3 style bottom nav Signed-off-by: androidacy-user --- .../drawable/baseline_cloud_download_24.xml | 5 +++ app/src/main/res/layout/activity_main.xml | 32 +++++++++++++++---- app/src/main/res/menu/bottom_nav_menu.xml | 19 +++++++++++ app/src/main/res/values/strings.xml | 9 ++++-- 4 files changed, 56 insertions(+), 9 deletions(-) create mode 100644 app/src/main/res/drawable/baseline_cloud_download_24.xml create mode 100644 app/src/main/res/menu/bottom_nav_menu.xml diff --git a/app/src/main/res/drawable/baseline_cloud_download_24.xml b/app/src/main/res/drawable/baseline_cloud_download_24.xml new file mode 100644 index 0000000..b7d6432 --- /dev/null +++ b/app/src/main/res/drawable/baseline_cloud_download_24.xml @@ -0,0 +1,5 @@ + + + diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 660d5a7..64c50ed 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -25,7 +25,13 @@ + + @@ -64,10 +70,8 @@ android:id="@+id/search_container" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_marginLeft="12dp" - android:layout_marginTop="8dp" - android:layout_marginRight="12dp" - android:layout_marginBottom="8dp" + android:layout_marginHorizontal="12dp" + android:layout_marginVertical="8dp" android:gravity="right" android:filterTouchesWhenObscured="true" app:layout_constraintBottom_toBottomOf="parent" @@ -83,8 +87,7 @@ android:id="@+id/down_arrow" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginLeft="8dp" - android:layout_marginRight="8dp" + android:layout_marginHorizontal="8dp" android:background="@color/transparent" android:visibility="gone" /> + + + \ No newline at end of file diff --git a/app/src/main/res/menu/bottom_nav_menu.xml b/app/src/main/res/menu/bottom_nav_menu.xml new file mode 100644 index 0000000..2313199 --- /dev/null +++ b/app/src/main/res/menu/bottom_nav_menu.xml @@ -0,0 +1,19 @@ + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index cc460cf..3295e0f 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -351,8 +351,13 @@ The following modules can be updated: %1$s to version %2$s Checking for updates... - FoxMMM is checking for updates in the background.Background update status + FoxMMM is checking for updates in the background. + Background update status Shows a notification while checking for updates so the system doesn\'t kill it Only check on WiFi - Require wi-fi or an unmetered network for update checks. Recommended to leave on if you have limited mobile data.No modules installed on deviceNotifies when module updates are foundUpdatesThis module has metadata that is either invalid or considered a marker for a low-quality module. Uninstallation is recommended. + Require wi-fi or an unmetered network for update checks. Recommended to leave on if you have limited mobile data. + No modules installed on device + Notifies when module updates are found + Updates + This module has metadata that is either invalid or considered a marker for a low-quality module. Uninstallation is recommended.Online