From 8a6eb8e025f388c9bc23e5ef30a0991eb33b7365 Mon Sep 17 00:00:00 2001 From: Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> Date: Wed, 28 Dec 2022 17:25:48 -0800 Subject: Change the style of the bottom app bar. --- app/src/main/res/layout/bottom_app_bar.xml | 66 +++--------------------------- 1 file changed, 6 insertions(+), 60 deletions(-) (limited to 'app/src/main/res/layout') diff --git a/app/src/main/res/layout/bottom_app_bar.xml b/app/src/main/res/layout/bottom_app_bar.xml index 47a35792..7e55c2ba 100644 --- a/app/src/main/res/layout/bottom_app_bar.xml +++ b/app/src/main/res/layout/bottom_app_bar.xml @@ -3,64 +3,10 @@ xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/bottom_app_bar_bottom_app_bar" android:layout_width="match_parent" - android:layout_height="48dp" + android:layout_height="wrap_content" + android:layout_gravity="bottom" android:visibility="gone" - app:fabAlignmentMode="center"> - - - - - - - - - - - - - - - - \ No newline at end of file + style="@style/Widget.Material3.BottomAppBar" + app:hideOnScroll="true" + app:fabAlignmentMode="end" + app:menu="@menu/bottom_app_bar" /> \ No newline at end of file -- cgit v1.2.3