summaryrefslogtreecommitdiff
path: root/org.fox.ttrss/src/main/res/layout-sw600dp-land/activity_master.xml
blob: 63b8c3e28b6dd4db9b94fdc2c6a8fa67051cfef7 (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
67
68
69
70
71
72
73
74
75
76
77
78
79
<RelativeLayout
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:fitsSystemWindows="true"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:android="http://schemas.android.com/apk/res/android">

    <LinearLayout
        android:id="@+id/fragment_container"
        android:background="?colorSurfaceContainer"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:baselineAligned="false"
        android:orientation="horizontal">

        <FrameLayout
            android:id="@+id/sw600dp_anchor"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:visibility="gone" >
        </FrameLayout>

        <com.google.android.material.navigation.NavigationView
            xmlns:app="http://schemas.android.com/apk/res-auto"
            android:id="@+id/navigation_view"
            android:layout_width="300dp"
            app:shapeAppearance="@style/ShapeAppearanceFeedsTablet"
            android:layout_height="match_parent"
            android:layout_gravity="start">

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

        </com.google.android.material.navigation.NavigationView>

        <androidx.coordinatorlayout.widget.CoordinatorLayout
            android:layout_width="0dp"
            android:layout_weight="0.75"
            android:layout_height="match_parent">

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

                <com.google.android.material.appbar.MaterialToolbar
                    xmlns:android="http://schemas.android.com/apk/res/android"
                    xmlns:app="http://schemas.android.com/apk/res-auto"
                    android:id="@+id/toolbar"
                    app:layout_scrollFlags="scroll|enterAlways"
                    app:titleTextAppearance="?attr/textAppearanceTitleMedium"
                    android:layout_height="wrap_content"
                    android:layout_width="match_parent"
                    android:background="?colorSurfaceContainer"
                    android:minHeight="?attr/actionBarSize"/>
            </com.google.android.material.appbar.AppBarLayout>

            <FrameLayout
                android:id="@+id/headlines_fragment"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                app:layout_behavior="org.fox.ttrss.util.FabAwareScrollingViewBehavior" />

            <com.google.android.material.floatingactionbutton.FloatingActionButton
                android:id="@+id/master_fab"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="end|bottom"
                android:visibility="gone"
                android:src="@drawable/baseline_refresh_24"
                android:layout_margin="16dp" />

        </androidx.coordinatorlayout.widget.CoordinatorLayout>

    </LinearLayout>

</RelativeLayout>