Advertisement
Guest User

Untitled

a guest
Feb 27th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.44 KB | None | 0 0
  1. <RelativeLayout
  2. android:layout_width="match_parent"
  3. android:layout_height="match_parent">
  4.  
  5. <android.support.v7.widget.Toolbar
  6. xmlns:android="http://schemas.android.com/apk/res/android"
  7. xmlns:app="http://schemas.android.com/apk/res-auto"
  8. android:id="@+id/toolbar"
  9. android:layout_width="match_parent"
  10. android:layout_height="wrap_content"
  11. android:minHeight="?attr/actionBarSize"
  12. android:background="#007AFF"
  13. app:layout_scrollFlags="scroll|enterAlways"
  14. android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
  15. app:popupTheme="@style/ThemeOverlay.AppCompat.Dark" />
  16.  
  17. <FrameLayout
  18. android:id="@+id/frame_fragmentholder"
  19. android:layout_width="match_parent"
  20. android:layout_height="wrap_content"
  21. android:background="@color/yellow"
  22. android:layout_below="@id/toolbar"
  23. android:layout_above="@id/bottom_nav"/>
  24.  
  25. <android.support.design.widget.BottomNavigationView
  26. android:id="@+id/bottom_nav"
  27. android:layout_width="match_parent"
  28. android:layout_height="wrap_content"
  29. android:layout_alignParentBottom="true"
  30. app:itemIconTint="@drawable/selector"
  31. app:itemTextColor="@drawable/selector"
  32. android:background="#007AFF"
  33. app:menu="@menu/bottombar_menu" />
  34. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement