summaryrefslogtreecommitdiff
path: root/src/ui/android/res/layout/activity_navigation.xml
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/android/res/layout/activity_navigation.xml')
-rw-r--r--src/ui/android/res/layout/activity_navigation.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/ui/android/res/layout/activity_navigation.xml b/src/ui/android/res/layout/activity_navigation.xml
new file mode 100644
index 000000000..44311b90d
--- /dev/null
+++ b/src/ui/android/res/layout/activity_navigation.xml
@@ -0,0 +1,16 @@
+<!-- A DrawerLayout is intended to be used as the top-level content view using match_parent for both width and height to consume the full space available. -->
+<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:id="@+id/drawer_layout"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ tools:context=".gui.activities.NavigationActivity">
+
+ <!-- As the main content view, the view below consumes the entire
+ space available using match_parent in both dimensions. -->
+ <FrameLayout
+ android:id="@+id/container"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" />
+
+</android.support.v4.widget.DrawerLayout>