Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- android:orientation="horizontal"
- tools:context="com.example.bpavel.navigationnew.MainActivity">
- <android.support.design.widget.AppBarLayout
- android:id="@+id/appbar"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:fitsSystemWindows="true"
- android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
- <include layout="@layout/toolbar" />
- </android.support.design.widget.AppBarLayout>
- <!-- Контейнер для остальных компонeнтов фрагмента или активности -->
- <android.support.v4.widget.SlidingPaneLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- app:layout_behavior="@string/appbar_scrolling_view_behavior">
- <fragment
- android:id="@+id/fragment1"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- class = "com.example.bpavel.navigationnew.Fragment1"
- tools:layout="@layout/fragment1" />
- <fragment
- android:id="@+id/fragment2"
- class = "com.example.bpavel.navigationnew.Fragment2"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- tools:layout="@layout/fragment2" />
- <fragment
- android:id="@+id/fragment3"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- class = "com.example.bpavel.navigationnew.Fragment3"
- tools:layout="@layout/fragment3" />
- </android.support.v4.widget.SlidingPaneLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement