Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <android.support.design.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:layout_height="match_parent">
- <android.support.design.widget.BottomNavigationView
- android:id="@+id/navigation"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="bottom"
- android:background="?android:attr/windowBackground"
- app:itemBackground="@color/bgBottomNavigation"
- android:foreground="?attr/selectableItemBackground"
- app:itemIconTint="@android:color/white"
- app:itemTextColor="@android:color/white"
- app:layout_anchor="@+id/frame_container"
- app:layout_anchorGravity="bottom"
- app:menu="@menu/navigation" />
- <FrameLayout
- android:id="@+id/frame_container"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- app:layout_behavior="@string/appbar_scrolling_view_behavior" />
- </android.support.design.widget.CoordinatorLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement