Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@color/md_blue_grey_100"
- tools:context=".MainActivity">
- <androidx.coordinatorlayout.widget.CoordinatorLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <com.google.android.material.floatingactionbutton.FloatingActionButton
- android:id="@+id/fab"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- app:srcCompat="@drawable/ic_baseline_add_24"
- app:layout_anchor="@id/bottom_app_bar" />
- <com.google.android.material.bottomappbar.BottomAppBar
- android:id="@+id/bottom_app_bar"
- style="@style/Widget.MaterialComponents.BottomAppBar"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="bottom"
- android:theme="@style/AppThemeMaterial"
- app:fabAlignmentMode="center"
- app:fabAnimationMode="slide"
- app:fabCradleMargin="5dp"
- app:menu="@menu/menu_ba1"
- app:navigationIcon="@drawable/ic_menu" />
- </androidx.coordinatorlayout.widget.CoordinatorLayout>
- </androidx.constraintlayout.widget.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement