Ivan Yeo | 215fc2a | 2015-03-17 22:35:04 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <android.support.v4.widget.DrawerLayout |
| 3 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 4 | xmlns:tools="http://schemas.android.com/tools" |
| 5 | android:id="@+id/drawer_layout" |
| 6 | android:layout_width="match_parent" |
| 7 | android:layout_height="match_parent" |
| 8 | tools:context=".MainActivity"> |
| 9 | |
| 10 | <!-- Main container for fragments to be presented in --> |
| 11 | <FrameLayout |
| 12 | android:id="@+id/main_fragment_container" |
| 13 | android:layout_width="match_parent" |
| 14 | android:layout_height="match_parent" |
| 15 | /> |
| 16 | |
| 17 | <!-- DrawerFragment for user navigation --> |
| 18 | <FrameLayout |
| 19 | android:id="@+id/navigation_drawer" |
| 20 | android:layout_width="@dimen/drawer_width" |
| 21 | android:layout_height="match_parent" |
| 22 | android:layout_gravity="start" |
| 23 | tools:layout="@layout/activity_main_drawer_listview" |
| 24 | /> |
| 25 | |
| 26 | </android.support.v4.widget.DrawerLayout> |