summaryrefslogtreecommitdiff
path: root/org.fox.ttrss/src/main/res/layout/layout_detail_phone.xml
blob: 0c5cf9a62af6711745b03379b6cdf179fbe39862 (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
<androidx.coordinatorlayout.widget.CoordinatorLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    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.progressindicator.LinearProgressIndicator
            android:id="@+id/loading_progress"
            android:max="100"
            android:progress="50"
            android:visibility="gone"
            android:indeterminate="false"
            android:layout_marginTop="-4dp"
            android:layout_marginBottom="-4dp"
            android:layout_width="match_parent"
            android:layout_height="wrap_content" />

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

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

    <FrameLayout
        android:id="@+id/headlines_fragment"
        android:visibility="gone"
        android:layout_height="0dp"
        android:layout_width="0dp">
    </FrameLayout>

    <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>