summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/main.xml
blob: 48195a176e16b58392f08461361fa1a138080920 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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"
        xmlns:app="http://schemas.android.com/apk/res-auto"
        android:id="@+id/drawer_layout"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        tools:ignore="InconsistentLayout">
    <!-- InconsistentLayout: Tablet layout does not have a drawer -->

    <androidx.coordinatorlayout.widget.CoordinatorLayout
            android:id="@+id/overview_coordinator_layout"
            android:layout_width="match_parent"
            android:layout_height="match_parent">

        <FrameLayout
            android:id="@+id/main_view"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_alignParentTop="true"
            android:foreground="?android:windowContentOverlay"
            tools:background="@android:color/holo_red_dark" />

        <FrameLayout
            android:elevation="8dp"
            android:id="@+id/audioplayerFragment"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:background="?android:attr/windowBackground"
            android:visibility="gone"
            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_gravity="start"
            android:orientation="vertical" />

</androidx.drawerlayout.widget.DrawerLayout>