summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/main.xml9
-rw-r--r--app/src/main/res/layout/mediaplayerinfo_activity.xml9
-rw-r--r--app/src/main/res/layout/nav_list.xml7
3 files changed, 18 insertions, 7 deletions
diff --git a/app/src/main/res/layout/main.xml b/app/src/main/res/layout/main.xml
index 5c06dc027..89b7e0c47 100644
--- a/app/src/main/res/layout/main.xml
+++ b/app/src/main/res/layout/main.xml
@@ -30,6 +30,13 @@
</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:orientation="vertical" />
</androidx.drawerlayout.widget.DrawerLayout> \ No newline at end of file
diff --git a/app/src/main/res/layout/mediaplayerinfo_activity.xml b/app/src/main/res/layout/mediaplayerinfo_activity.xml
index c46672ceb..526994752 100644
--- a/app/src/main/res/layout/mediaplayerinfo_activity.xml
+++ b/app/src/main/res/layout/mediaplayerinfo_activity.xml
@@ -236,6 +236,13 @@
</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: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"