diff options
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/main.xml | 10 | ||||
-rw-r--r-- | app/src/main/res/layout/nav_list.xml | 7 |
2 files changed, 11 insertions, 6 deletions
diff --git a/app/src/main/res/layout/main.xml b/app/src/main/res/layout/main.xml index 5c06dc027..76139c57e 100644 --- a/app/src/main/res/layout/main.xml +++ b/app/src/main/res/layout/main.xml @@ -30,6 +30,14 @@ </RelativeLayout> - <include layout="@layout/nav_list" /> + <FrameLayout + android:id="@+id/navDrawerFragment" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_marginEnd="24dp" + android:layout_marginRight="24dp" + android:layout_gravity="start" + android:background="?android:attr/windowBackground" + android:orientation="vertical" /> </androidx.drawerlayout.widget.DrawerLayout>
\ No newline at end of file diff --git a/app/src/main/res/layout/nav_list.xml b/app/src/main/res/layout/nav_list.xml index d6b8a540d..504952b08 100644 --- a/app/src/main/res/layout/nav_list.xml +++ b/app/src/main/res/layout/nav_list.xml @@ -4,11 +4,7 @@ android:id="@+id/nav_layout" android:layout_width="match_parent" android:layout_height="match_parent" - android:layout_marginEnd="24dp" - android:layout_marginRight="24dp" - android:layout_gravity="start" - android:background="?android:attr/windowBackground" - android:orientation="vertical"> + android:background="?android:attr/windowBackground"> <LinearLayout android:id="@+id/nav_settings" @@ -68,6 +64,7 @@ android:choiceMode="singleChoice" android:clipToPadding="false" android:divider="@android:color/transparent" + android:layout_alignParentTop="true" android:dividerHeight="0dp" android:paddingBottom="@dimen/list_vertical_padding" android:paddingTop="8dp" |