fragment_subscriptions.xml 1.62 KB
Newer Older
1
<?xml version="1.0" encoding="utf-8"?>
2
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
    xmlns:tools="http://schemas.android.com/tools"
4
    android:orientation="vertical"
5
    android:layout_width="match_parent"
6
    android:layout_height="match_parent"
7
    tools:context=".components.subscriptions.SubscriptionsFragment">
8
    <androidx.recyclerview.widget.RecyclerView
9
        android:id="@+id/subscriptions_list"
10
        android:layout_width="match_parent"
11
        android:layout_height="wrap_content"
12
        android:visibility="visible"
13
        tools:listitem="@layout/fragment_subscription"
14 15 16 17 18
    />
    <LinearLayout
        android:id="@+id/fragment_subscriptions_waiting"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
19
        android:visibility="gone">
20 21 22 23 24 25 26
        <fragment
            android:id="@+id/fragment_subscriptions_waiting_fragment"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            class="fr.chenry.android.freshrss.components.waiting.WaitingFragment"
            android:layout_margin="0dp" />
    </LinearLayout>
27 28 29 30
    <TextView
        android:id="@+id/fragment_subscriptions_empty_list"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
31
        android:text="@string/empty_subscriptions_category_list"
32 33 34 35 36 37
        android:visibility="gone"
        android:gravity="center|center_horizontal|center_vertical"
        android:layout_gravity="center"
        android:textColor="@color/light_grey"
        android:textSize="24sp"
        android:textStyle="bold" />
38
</LinearLayout>