Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <android.support.v4.widget.DrawerLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/drawer_layout"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <!-- The main content view -->
- <FrameLayout
- android:id="@+id/content_frame"
- android:layout_width="match_parent"
- android:layout_height="match_parent"/>
- <!-- The navigation drawer -->
- <LinearLayout
- android:orientation="vertical"
- android:id="@+id/drawer_navigation"
- android:layout_height="match_parent"
- android:layout_width="240dp"
- style="?android:buttonBarStyle"
- android:divider="?android:dividerVertical"
- android:background="#FFF"
- android:layout_gravity="start">
- <Button
- android:id="@+id/btn_slide"
- style="?android:buttonBarButtonStyle"
- android:gravity="left|center_vertical"
- android:layout_height="wrap_content"
- android:layout_width="match_parent"
- android:text="Slide + Animation"/>
- <Button
- android:id="@+id/btn_presentation"
- style="?android:buttonBarButtonStyle"
- android:gravity="left|center_vertical"
- android:layout_height="wrap_content"
- android:layout_width="match_parent"
- android:text="Presentation"/>
- <Button
- android:id="@+id/btn_dialog_on_tablet"
- style="?android:buttonBarButtonStyle"
- android:gravity="left|center_vertical"
- android:layout_height="wrap_content"
- android:layout_width="match_parent"
- android:text="Dialog on Tablets"/>
- <Button
- android:id="@+id/btn_hidden_list"
- style="?android:buttonBarButtonStyle"
- android:gravity="left|center_vertical"
- android:layout_height="wrap_content"
- android:layout_width="match_parent"
- android:text="Hidden list" />
- </LinearLayout>
- <FrameLayout
- android:id="@+id/drawer_notifications"
- android:layout_width="240dp"
- android:layout_height="match_parent"
- android:background="#FFF"
- android:layout_gravity="end">
- <TextView
- android:layout_height="wrap_content"
- android:layout_width="match_parent"
- android:text="When connected, your notifications will appear here"
- android:gravity="center_horizontal"
- android:layout_gravity="top|center_horizontal"
- />
- </FrameLayout>
- </android.support.v4.widget.DrawerLayout>
Advertisement
Add Comment
Please, Sign In to add comment