1<?xml version="1.0" encoding="utf-8"?>
2<androidx.coordinatorlayout.widget.CoordinatorLayout
3xmlns:android="http://schemas.android.com/apk/res/android"
4xmlns:app="http://schemas.android.com/apk/res-auto"
5android:id="@+id/coordinator_view"
6android:layout_width="match_parent"
7android:layout_height="match_parent"
8android:background="@color/white"
9android:fitsSystemWindows="false">
10
11
12
13<com.google.android.material.bottomappbar.BottomAppBar
14 android:layout_width="match_parent"
15 android:layout_height="wrap_content"
16 android:id="@+id/bottom_bar"
17 android:clickable="false"
18 app:fabAlignmentMode="center"
19 android:layout_gravity="bottom"/>
20
21<FrameLayout
22 android:layout_width="match_parent"
23 android:layout_height="wrap_content"
24 android:layout_gravity="bottom">
25
26 <com.google.android.material.bottomnavigation.BottomNavigationView
27 android:id="@+id/bottom_navigation"
28 android:layout_width="match_parent"
29 android:clickable="false"
30 android:layout_height="wrap_content"
31 app:menu="@menu/bottom_menu" />
32</FrameLayout>
33
34<FloatingActionButton
35 android:id="@+id/fab"
36 android:layout_width="wrap_content"
37 android:layout_height="wrap_content"
38 app:layout_anchor="@id/bottom_bar"/>
39</androidx.coordinatorlayout.widget.CoordinatorLayout>
40