From f33d4dbc61ef2f7967f9bf3ee80b2644eaf54aad Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Fri, 25 Sep 2020 16:35:27 +0800 Subject: Customizing the bottom app bar in MainActivity is available (Changing option count is not available right now. --- app/src/main/res/layout/app_bar_main.xml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) (limited to 'app/src/main/res/layout') diff --git a/app/src/main/res/layout/app_bar_main.xml b/app/src/main/res/layout/app_bar_main.xml index 5272b575..3f0b5c20 100644 --- a/app/src/main/res/layout/app_bar_main.xml +++ b/app/src/main/res/layout/app_bar_main.xml @@ -64,7 +64,7 @@ app:layout_behavior="@string/appbar_scrolling_view_behavior" /> @@ -137,8 +133,7 @@ android:layout_height="wrap_content" android:layout_margin="@dimen/fab_margin" android:visibility="gone" - app:srcCompat="@drawable/ic_add_day_night_24dp" app:tint="@android:color/white" - app:layout_anchor="@id/bottom_navigation_main_activity" /> + app:layout_anchor="@id/bottom_app_bar_main_activity" /> -- cgit v1.2.3