summaryrefslogtreecommitdiff
path: root/org.fox.ttrss/src/main/res/layout-sw600dp-land/activity_detail.xml
blob: 823afb9b6b05a6179fe8e480d682082762c71219 (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
80
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/headlines"
    android:fitsSystemWindows="true"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical" >

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

    <LinearLayout
        android:id="@+id/fragment_container"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:baselineAligned="false"
        android:orientation="horizontal" >

        <com.google.android.material.navigation.NavigationView
            xmlns:app="http://schemas.android.com/apk/res-auto"
            android:id="@+id/navigation_view"
            android:background="?colorSurfaceContainer"
            android:layout_width="0dp"
            android:layout_weight="0.3"
            android:layout_height="match_parent"
            android:padding="8dp"
            app:shapeAppearance="@style/ShapeAppearanceHeadlinesTablet"
            android:layout_gravity="start">

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

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

        <androidx.coordinatorlayout.widget.CoordinatorLayout
            xmlns:app="http://schemas.android.com/apk/res-auto"
            android:layout_width="0dp"
            android:layout_weight="0.7"
            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:layout_width="match_parent"
                android:id="@+id/article_fragment"
                app:layout_behavior="org.fox.ttrss.util.DetailActivityScrollingViewBehavior"
                android:layout_height="match_parent"/>

            <com.google.android.material.bottomappbar.BottomAppBar
                android:id="@+id/detail_bottom_appbar"
                app:backgroundTint="?colorSurfaceContainerHigh"
                android:layout_width="match_parent"
                android:layout_height="?actionBarSize"
                android:layout_gravity="bottom"
                app:menu="@menu/bottombar_detail" />

            <com.google.android.material.floatingactionbutton.FloatingActionButton
                android:id="@+id/detail_fab"
                android:layout_gravity="end|bottom"
                android:layout_marginEnd="16dp"
                android:layout_marginBottom="38dp"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                app:srcCompat="@drawable/baseline_open_in_browser_24" />

        </androidx.coordinatorlayout.widget.CoordinatorLayout>
    </LinearLayout>

</LinearLayout>