diff options
author | Chris Warrington <cmw@google.com> | 2016-10-18 12:29:21 +0100 |
---|---|---|
committer | Chris Warrington <cmw@google.com> | 2016-10-18 12:34:18 +0100 |
commit | e3780081075c01aa1dff6d1f373cb43192b33e68 (patch) | |
tree | fb734615933a39f3d009210dc0d1457160479b35 /WordPress/src/main/res/layout/reader_activity_comment_list.xml | |
parent | 7e05eb7e57827eddc885570bc00aed8a50320dbf (diff) | |
parent | 025b8b226c8d8edba2b309ca878572f40512eca7 (diff) | |
download | gradle-perf-android-medium-e3780081075c01aa1dff6d1f373cb43192b33e68.tar.gz |
Merge remote-tracking branch 'origin/upstream-master' into masterHEADstudio-3.4.0studio-3.2.1studio-3.1.2studio-3.0studio-2.3gradle_3.4.0gradle_3.1.2gradle_3.0.0gradle_2.3.0studio-master-devmirror-goog-studio-master-devmastermain
Change-Id: I63f5e16d09297c48432192761b840310935eb903
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 |