narimetisaigopi

activity_main.xml bottom_navigation_view

Feb 5th, 2020
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. android:orientation="vertical"
  8. tools:context=".MainActivity">
  9.  
  10. <FrameLayout
  11. android:layout_width="match_parent"
  12. android:layout_height="match_parent"
  13. android:layout_above="@+id/bottomNavigationBar"
  14. android:id="@+id/frameLayout"/>
  15.  
  16.  
  17. <android.support.design.widget.BottomNavigationView
  18. android:layout_width="match_parent"
  19. android:layout_height="wrap_content"
  20. app:itemIconTint="@color/colorAccent"
  21. app:itemTextColor="@color/colorAccent"
  22. android:layout_alignParentBottom="true"
  23. app:labelVisibilityMode="labeled"
  24. app:menu="@menu/bottom_navigation_menu"
  25. android:id="@+id/bottomNavigationBar"/>
  26.  
  27. </RelativeLayout>
Add Comment
Please, Sign In to add comment