diff options
author | Allan Wang <me@allanwang.ca> | 2019-12-27 00:28:33 -0800 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2019-12-27 00:28:33 -0800 |
commit | 44524ce6eea7b0d0998bbabc8d72ea8b43f55f02 (patch) | |
tree | bbcdc7a3d3c54048f838635280ac0d1a3f341133 /app/src/main/res/layout | |
parent | 454872d712a0496e97b7138b30cc2fccac037b2f (diff) | |
download | frost-44524ce6eea7b0d0998bbabc8d72ea8b43f55f02.tar.gz frost-44524ce6eea7b0d0998bbabc8d72ea8b43f55f02.tar.bz2 frost-44524ce6eea7b0d0998bbabc8d72ea8b43f55f02.zip |
Add nav items programmatically
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/activity_main_drawer_wrapper.xml | 9 |
1 files changed, 6 insertions, 3 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 index 1af2e639..d5efcf0d 100644 --- a/app/src/main/res/layout/activity_main_drawer_wrapper.xml +++ b/app/src/main/res/layout/activity_main_drawer_wrapper.xml @@ -1,9 +1,11 @@ <?xml version="1.0" encoding="utf-8"?> <androidx.drawerlayout.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" + xmlns:tools="http://schemas.android.com/tools" android:id="@+id/drawer" + android:layout_width="match_parent" android:layout_height="match_parent" - android:fitsSystemWindows="true"> + android:fitsSystemWindows="true" + tools:openDrawer="end"> <FrameLayout android:id="@+id/main_container" @@ -15,5 +17,6 @@ android:id="@+id/navigation" android:layout_width="wrap_content" android:layout_height="match_parent" - android:visibility="gone" /> + android:layout_gravity="start" + android:theme="@style/ThemeOverlay.Frost.NavigationView" /> </androidx.drawerlayout.widget.DrawerLayout>
\ No newline at end of file |