summaryrefslogtreecommitdiff
path: root/org.fox.ttrss/src/main/res/layout/activity_detail_phone.xml
blob: 6d9a8dbde344a05a3156a043afd963bef15d016b (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
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/headlines"
    android:fitsSystemWindows="true"
    android:animateLayoutChanges="true"
    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.floatingactionbutton.FloatingActionButton
            android:id="@+id/detail_fab"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="end|bottom"
            android:visibility="gone"
            android:src="@drawable/ic_action_web_site"
            android:layout_margin="16dp" />

        <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/article_fragment"
            app:layout_behavior=".util.DetailActivityScrollingViewBehavior"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:background="?articleBackground">
        </FrameLayout>

    </androidx.coordinatorlayout.widget.CoordinatorLayout>

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

</FrameLayout>