diff options
Diffstat (limited to 'WordPress/src/main/res/layout/reader_activity_comment_list.xml')
-rw-r--r-- | WordPress/src/main/res/layout/reader_activity_comment_list.xml | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/WordPress/src/main/res/layout/reader_activity_comment_list.xml b/WordPress/src/main/res/layout/reader_activity_comment_list.xml new file mode 100644 index 000000000..7aef53c7d --- /dev/null +++ b/WordPress/src/main/res/layout/reader_activity_comment_list.xml @@ -0,0 +1,73 @@ +<?xml version="1.0" encoding="utf-8"?> +<RelativeLayout 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"> + + <include + android:id="@+id/toolbar" + layout="@layout/toolbar" /> + + <org.wordpress.android.widgets.WPTextView + android:id="@+id/text_empty" + style="@style/ReaderTextView.EmptyList" + android:layout_above="@+id/layout_bottom" + android:layout_below="@+id/toolbar" + android:text="@string/reader_empty_comments" + android:textColor="@color/grey_darken_10" + android:visibility="gone" + app:fixWidowWords="true" + tools:visibility="visible" /> + + + <org.wordpress.android.util.widgets.CustomSwipeRefreshLayout + android:id="@+id/swipe_to_refresh" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_above="@+id/layout_bottom" + android:layout_below="@+id/toolbar"> + + <org.wordpress.android.ui.reader.views.ReaderRecyclerView + android:id="@+id/recycler_view" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:scrollbars="vertical" /> + + </org.wordpress.android.util.widgets.CustomSwipeRefreshLayout> + + <RelativeLayout + android:id="@+id/layout_bottom" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_alignParentBottom="true"> + + <include + android:id="@+id/layout_comment_box" + layout="@layout/reader_include_comment_box" + android:layout_width="match_parent" + android:layout_height="wrap_content" /> + + <org.wordpress.android.widgets.WPTextView + android:id="@+id/text_comments_closed" + style="@style/ReaderTextView.Label.Large" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:background="@color/white" + android:gravity="center_horizontal" + android:paddingBottom="@dimen/margin_large" + android:paddingTop="@dimen/margin_large" + android:text="@string/reader_label_comments_closed" + android:visibility="gone" /> + </RelativeLayout> + + <ProgressBar + android:id="@+id/progress_loading" + style="@style/ReaderProgressBar" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_centerInParent="true" + android:visibility="gone" + tools:visibility="visible" /> + +</RelativeLayout>
\ No newline at end of file |