Welcome to mirror list, hosted at ThFree Co, Russian Federation.

fragment_newsreader_detail.xml « layout « res « main « src « News-Android-App - github.com/nextcloud/news-android.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e77b9cde03c21709c610f9d6782fd3ed1470fb70 (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
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:showIn="@layout/activity_newsreader">

    <androidx.swiperefreshlayout.widget.SwipeRefreshLayout
        android:id="@+id/swipeRefresh"
        android:layout_width="match_parent"
        android:layout_height="match_parent">

        <androidx.recyclerview.widget.RecyclerView
            android:id="@+id/list"
            style="?android:attr/textAppearanceLarge"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:scrollbars="vertical"
            tools:listitem="@layout/subscription_detail_list_item_thumbnail"/>

    </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>

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

    <ProgressBar
        android:id="@+id/pb_loading"
        style="?android:attr/progressBarStyleLarge"
        android:layout_width="60dp"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:indeterminate="true" />


    <RelativeLayout
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="bottom|end"
        >

        <com.google.android.material.floatingactionbutton.FloatingActionButton
            android:id="@+id/fab_done_all"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentBottom="true"
            android:layout_alignParentEnd="true"
            android:visibility="visible"
            android:translationX="-16dp"
            android:translationY="-16dp"
            app:tint="@android:color/white"
            app:fabSize="normal"
            app:backgroundTint="@color/nextcloudBlue"
            app:srcCompat="@drawable/ic_done_all"
            />

        <ImageView
            android:id="@+id/target_done_all"
            android:layout_width="128dp"
            android:layout_height="128dp"
            android:translationX="18dp"
            android:translationY="-64dp"
            android:layout_above="@id/fab_done_all"
            android:layout_alignParentEnd="true"
            app:srcCompat="@drawable/fa_all_read_target"
            android:visibility="invisible" />

    </RelativeLayout>


    <!-- android:textIsSelectable="true" -->
    <!-- android:padding="16dp" -->

</FrameLayout>