Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/apk/res-auto"
- xmlns:tools2="http://schemas.android.com/tools"
- android:id="@+id/content_frame"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <android.support.v4.widget.DrawerLayout
- android:id="@+id/drawer_layout"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <android.support.design.widget.CoordinatorLayout
- android:id="@+id/coordinator"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <android.support.v4.view.ViewPager
- android:id="@+id/pager"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- app:layout_behavior="@string/appbar_scrolling_view_behavior" />
- <android.support.design.widget.AppBarLayout
- android:id="@+id/app_bar_layout"
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <include
- android:id="@+id/toolbar"
- layout="@layout/toolbar" />
- <android.support.design.widget.TabLayout
- android:id="@+id/tab_layout"
- android:layout_width="match_parent"
- android:layout_height="?attr/actionBarSize"
- app:tabIndicatorColor="@color/colorAccent"
- app:tabSelectedTextColor="@android:color/background_light"
- app:tabTextColor="@android:color/background_light" />
- </android.support.design.widget.AppBarLayout>
- </android.support.design.widget.CoordinatorLayout>
- <android.support.design.widget.NavigationView
- android:id="@+id/fragment_navigation_drawer"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:layout_gravity="start"
- android:layout="@layout/fragment_navigation_drawer"
- app:headerLayout="@layout/navigation_header"
- app:menu="@menu/menu_navigation" />
- </android.support.v4.widget.DrawerLayout>
- </FrameLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement