Advertisement
antigipoid

Untitled

Feb 14th, 2016
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.39 KB | None | 0 0
  1. <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. xmlns:app="http://schemas.android.com/apk/res-auto"
  3. xmlns:tools="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools2="http://schemas.android.com/tools"
  5. android:id="@+id/content_frame"
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent">
  8.  
  9. <android.support.v4.widget.DrawerLayout
  10. android:id="@+id/drawer_layout"
  11. android:layout_width="match_parent"
  12. android:layout_height="match_parent">
  13.  
  14. <android.support.design.widget.CoordinatorLayout
  15. android:id="@+id/coordinator"
  16. android:layout_width="match_parent"
  17. android:layout_height="match_parent">
  18.  
  19. <android.support.v4.view.ViewPager
  20. android:id="@+id/pager"
  21. android:layout_width="match_parent"
  22. android:layout_height="match_parent"
  23. app:layout_behavior="@string/appbar_scrolling_view_behavior" />
  24.  
  25. <android.support.design.widget.AppBarLayout
  26. android:id="@+id/app_bar_layout"
  27. android:layout_width="match_parent"
  28. android:layout_height="wrap_content">
  29.  
  30. <include
  31. android:id="@+id/toolbar"
  32. layout="@layout/toolbar" />
  33.  
  34. <android.support.design.widget.TabLayout
  35. android:id="@+id/tab_layout"
  36. android:layout_width="match_parent"
  37. android:layout_height="?attr/actionBarSize"
  38. app:tabIndicatorColor="@color/colorAccent"
  39. app:tabSelectedTextColor="@android:color/background_light"
  40. app:tabTextColor="@android:color/background_light" />
  41.  
  42. </android.support.design.widget.AppBarLayout>
  43.  
  44.  
  45. </android.support.design.widget.CoordinatorLayout>
  46.  
  47.  
  48. <android.support.design.widget.NavigationView
  49. android:id="@+id/fragment_navigation_drawer"
  50. android:layout_width="wrap_content"
  51. android:layout_height="match_parent"
  52. android:layout_gravity="start"
  53. android:layout="@layout/fragment_navigation_drawer"
  54. app:headerLayout="@layout/navigation_header"
  55. app:menu="@menu/menu_navigation" />
  56.  
  57.  
  58. </android.support.v4.widget.DrawerLayout>
  59.  
  60.  
  61. </FrameLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement