summaryrefslogtreecommitdiff
path: root/org.fox.ttrss/src/main/res/layout/activity_master_phone.xml
blob: d63d9fb9213aa872393b55252a1750dd558f051e (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
    <androidx.drawerlayout.widget.DrawerLayout
        xmlns:android="http://schemas.android.com/apk/res/android"
        android:fitsSystemWindows="true"
        android:id="@+id/headlines_drawer"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent">

        <androidx.coordinatorlayout.widget.CoordinatorLayout
            xmlns:app="http://schemas.android.com/apk/res-auto"
            android:layout_width="match_parent"
            android:layout_height="match_parent">

            <com.google.android.material.appbar.AppBarLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content">

                <include layout="@layout/toolbar" android:id="@+id/toolbar" />

            </com.google.android.material.appbar.AppBarLayout>

            <FrameLayout
                android:id="@+id/headlines_fragment"
                app:layout_behavior="@string/appbar_scrolling_view_behavior"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:background="?headlinesBackground" />

        </androidx.coordinatorlayout.widget.CoordinatorLayout>

        <!-- <FrameLayout
            android:fitsSystemWindows="true"
            android:animateLayoutChanges="true"
            android:layout_width="match_parent"
            android:layout_height="match_parent">

            <FrameLayout
                android:id="@+id/headlines_fragment"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:background="?headlinesBackground" />

            <include layout="@layout/toolbar" android:id="@+id/toolbar" />

        </FrameLayout> -->

        <org.fox.ttrss.util.ScrimInsetsFrameLayout
            xmlns:app="http://schemas.android.com/apk/res-auto"
            android:id="@+id/scrimInsetsFrameLayout"
            android:layout_width="300dp"
            android:layout_height="match_parent"
            android:layout_gravity="start"
            android:background="@android:color/white"
            android:elevation="10dp"
            android:fitsSystemWindows="true"
            app:insetForeground="#4000">

        <FrameLayout
            android:id="@+id/feeds_fragment"
            android:layout_width="match_parent"
            android:background="?feedlistBackground"
            android:layout_height="match_parent" >
        </FrameLayout>

        </org.fox.ttrss.util.ScrimInsetsFrameLayout>

    </androidx.drawerlayout.widget.DrawerLayout>