Last active
June 24, 2019 08:34
-
-
Save ankitdubey021/92b2a46c34226f3718e908026208ba25 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<androidx.coordinatorlayout.widget.CoordinatorLayout | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
android:layout_width="match_parent" | |
android:background="@color/gray" | |
android:layout_height="match_parent"> | |
<!-- Other components and views --> | |
<com.google.android.material.bottomappbar.BottomAppBar | |
android:id="@+id/bar" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
style="@style/Widget.MaterialComponents.BottomAppBar" | |
android:layout_gravity="bottom" | |
app:backgroundTint="@color/skyBlue" | |
app:navigationIcon="@drawable/ic_dehaze_black_24dp"/> | |
<com.google.android.material.floatingactionbutton.FloatingActionButton | |
android:id="@+id/fab" | |
android:layout_width="wrap_content" | |
android:src="@drawable/ic_add_black_24dp" | |
android:layout_height="wrap_content" | |
app:backgroundTint="@color/colorAccent" | |
app:layout_anchor="@id/bar"/> | |
</androidx.coordinatorlayout.widget.CoordinatorLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment