Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- android:background="@color/white">
- <android.support.v4.widget.DrawerLayout
- android:id="@+id/drawer_left"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <FrameLayout
- android:id="@+id/fragment_placeholder"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:clickable="true"/>
- <android.support.v4.widget.DrawerLayout
- android:id="@+id/drawer_right"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <FrameLayout android:id="@+id/frame_layout_right"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_gravity="end"/>
- </android.support.v4.widget.DrawerLayout>
- </RelativeLayout>
- <!-- Your sliding menu -->
- <FrameLayout
- android:id="@+id/frame_layout_left"
- android:layout_width="280dp"
- android:layout_height="match_parent"
- android:layout_gravity="start"/>
- </android.support.v4.widget.DrawerLayout>
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment