diff options
author | Allan Wang <me@allanwang.ca> | 2019-12-29 15:50:22 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-29 15:50:22 -0800 |
commit | 0828e8fceec86333f81d5b8cf204184ecc58f0ef (patch) | |
tree | 52c2bef109a430aac85c03494a5fd4515e4455e5 /app/src/main/res/layout/activity_main_drawer_wrapper.xml | |
parent | ee68ef07ca0f0afd00bfe32f7e7dbba8ef6a6ae2 (diff) | |
parent | 597c884d88b8716d49e0abb00674ce44699df08b (diff) | |
download | frost-0828e8fceec86333f81d5b8cf204184ecc58f0ef.tar.gz frost-0828e8fceec86333f81d5b8cf204184ecc58f0ef.tar.bz2 frost-0828e8fceec86333f81d5b8cf204184ecc58f0ef.zip |
Merge pull request #1601 from AllanWang/nav-rewrite
Nav rewrite
Diffstat (limited to 'app/src/main/res/layout/activity_main_drawer_wrapper.xml')
-rw-r--r-- | app/src/main/res/layout/activity_main_drawer_wrapper.xml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/app/src/main/res/layout/activity_main_drawer_wrapper.xml b/app/src/main/res/layout/activity_main_drawer_wrapper.xml new file mode 100644 index 00000000..d5efcf0d --- /dev/null +++ b/app/src/main/res/layout/activity_main_drawer_wrapper.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<androidx.drawerlayout.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + android:id="@+id/drawer" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:fitsSystemWindows="true" + tools:openDrawer="end"> + + <FrameLayout + android:id="@+id/main_container" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:fitsSystemWindows="true" /> + + <com.google.android.material.navigation.NavigationView + android:id="@+id/navigation" + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:layout_gravity="start" + android:theme="@style/ThemeOverlay.Frost.NavigationView" /> +</androidx.drawerlayout.widget.DrawerLayout>
\ No newline at end of file |