aboutsummaryrefslogtreecommitdiff
path: root/WordPress/src/main/res/layout/reader_fragment_post_cards.xml
blob: 66a14fe9c601137b4d9ad30b151043571e88b576 (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
<?xml version="1.0" encoding="utf-8"?>

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <org.wordpress.android.ui.FilteredRecyclerView
        android:id="@+id/reader_recycler_view"
        android:layout_width="match_parent"
        android:layout_height="match_parent" />

    <include
        android:id="@+id/empty_custom_view"
        layout="@layout/reader_empty_view" />

    <LinearLayout
        android:id="@+id/layout_new_posts"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_centerHorizontal="true"
        android:layout_marginTop="24dp"
        android:background="@drawable/reader_new_posts_bar_background"
        android:elevation="@dimen/message_bar_elevation"
        android:gravity="center_horizontal"
        android:orientation="vertical"
        android:paddingBottom="@dimen/margin_large"
        android:paddingLeft="24dp"
        android:paddingRight="24dp"
        android:paddingTop="@dimen/margin_large"
        android:visibility="gone"
        tools:targetApi="LOLLIPOP"
        tools:visibility="visible">

        <org.wordpress.android.widgets.WPTextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/reader_label_new_posts"
            android:textColor="@color/grey_lighten_30"
            android:textSize="@dimen/text_sz_large" />

        <org.wordpress.android.widgets.WPTextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/reader_label_new_posts_subtitle"
            android:textColor="@color/grey_lighten_30"
            android:textSize="@dimen/text_sz_small" />
    </LinearLayout>

    <ProgressBar
        android:id="@+id/progress_footer"
        style="@style/ReaderProgressBar"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:layout_marginLeft="@dimen/margin_large"
        android:visibility="gone"
        tools:visibility="visible" />

</RelativeLayout>