aboutsummaryrefslogtreecommitdiff
path: root/WordPress/src/main/res/layout/reader_fragment_post_cards.xml
diff options
context:
space:
mode:
Diffstat (limited to 'WordPress/src/main/res/layout/reader_fragment_post_cards.xml')
-rw-r--r--WordPress/src/main/res/layout/reader_fragment_post_cards.xml60
1 files changed, 60 insertions, 0 deletions
diff --git a/WordPress/src/main/res/layout/reader_fragment_post_cards.xml b/WordPress/src/main/res/layout/reader_fragment_post_cards.xml
new file mode 100644
index 000000000..66a14fe9c
--- /dev/null
+++ b/WordPress/src/main/res/layout/reader_fragment_post_cards.xml
@@ -0,0 +1,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>