summaryrefslogtreecommitdiff
path: root/src/ui/android/res/layout/activity_navigation.xml
diff options
context:
space:
mode:
authorkrasimir <krasimir@chalmers.se>2016-05-23 09:54:27 +0000
committerkrasimir <krasimir@chalmers.se>2016-05-23 09:54:27 +0000
commit228161eed4d0316c9150b190b528c4405a7f7b3b (patch)
tree393609f418b2a51fd437e2c6cc909025e3a1b629 /src/ui/android/res/layout/activity_navigation.xml
parent649ab21ceccb09aa9490863bddcb9597898e7217 (diff)
add the relevant code from Parlira to the GFTranslator
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>