summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/main.xml
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/layout/main.xml')
-rw-r--r--app/src/main/res/layout/main.xml49
1 files changed, 25 insertions, 24 deletions
diff --git a/app/src/main/res/layout/main.xml b/app/src/main/res/layout/main.xml
index 89b7e0c47..60b9623bc 100644
--- a/app/src/main/res/layout/main.xml
+++ b/app/src/main/res/layout/main.xml
@@ -1,42 +1,43 @@
<?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_layout"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
-
- <RelativeLayout
- android:id="@+id/content"
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent">
- <FrameLayout
- android:id="@+id/playerFragment"
+ <androidx.coordinatorlayout.widget.CoordinatorLayout
+ android:id="@+id/overview_coordinator_layout"
android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- tools:layout_height="64dp"
- tools:background="@android:color/holo_green_light" />
+ android:layout_height="match_parent">
<FrameLayout
android:id="@+id/main_view"
android:layout_width="match_parent"
- android:layout_height="0px"
- android:layout_above="@id/playerFragment"
+ android:layout_height="match_parent"
android:layout_alignParentTop="true"
android:foreground="?android:windowContentOverlay"
+ android:layout_marginBottom="@dimen/external_player_height"
tools:background="@android:color/holo_red_dark" />
- </RelativeLayout>
+ <FrameLayout
+ android:elevation="8dp"
+ android:id="@+id/audioplayerFragment"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="?android:attr/windowBackground"
+ app:layout_behavior="de.danoeh.antennapod.view.LockableBottomSheetBehavior" />
+
+ </androidx.coordinatorlayout.widget.CoordinatorLayout>
<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" />
+ 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