summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/main.xml
blob: c5cfb494e37e7d8a73ff254f8708887d54f654d0 (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
44
45
46
<?xml version="1.0" encoding="utf-8"?>
<androidx.drawerlayout.widget.DrawerLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/drawer_layout"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:ignore="InconsistentLayout"
    tools:viewBindingIgnore="true">

    <!-- InconsistentLayout: Tablet layout does not have a drawer -->
    <!-- viewBindingIgnore: Configurations for main.xml must
            agree on the root element's ID -->
    <androidx.coordinatorlayout.widget.CoordinatorLayout
        android:id="@+id/overview_coordinator_layout"
        android:layout_width="match_parent"
        android:layout_height="match_parent">

        <androidx.fragment.app.FragmentContainerView
            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" />

        <androidx.fragment.app.FragmentContainerView
            android:id="@+id/audioplayerFragment"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:background="?android:attr/windowBackground"
            android:elevation="8dp"
            android:visibility="gone"
            app:layout_behavior="de.danoeh.antennapod.view.LockableBottomSheetBehavior" />

    </androidx.coordinatorlayout.widget.CoordinatorLayout>

    <androidx.fragment.app.FragmentContainerView
        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>