Advertisement
bimasakti09

aboutxmlbima

Feb 4th, 2018
1,081
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <android.support.design.widget.CoordinatorLayout
  3.    xmlns:android="http://schemas.android.com/apk/res/android"
  4.    xmlns:app="http://schemas.android.com/apk/res-auto"
  5.    android:layout_width="match_parent"
  6.    android:layout_height="match_parent">
  7.  
  8.     <android.support.design.widget.BottomNavigationView
  9.        android:id="@+id/navigation"
  10.        android:layout_width="match_parent"
  11.        android:layout_height="wrap_content"
  12.        android:layout_gravity="bottom"
  13.        android:background="?android:attr/windowBackground"
  14.        app:itemBackground="@color/bgBottomNavigation"
  15.        android:foreground="?attr/selectableItemBackground"
  16.        app:itemIconTint="@android:color/white"
  17.        app:itemTextColor="@android:color/white"
  18.        app:layout_anchor="@+id/frame_container"
  19.        app:layout_anchorGravity="bottom"
  20.        app:menu="@menu/navigation" />
  21.  
  22.     <FrameLayout
  23.        android:id="@+id/frame_container"
  24.        android:layout_width="match_parent"
  25.        android:layout_height="match_parent"
  26.        app:layout_behavior="@string/appbar_scrolling_view_behavior" />
  27.  
  28. </android.support.design.widget.CoordinatorLayout>
Advertisement
RAW Paste Data Copied
Advertisement