blob: 7aef53c7dce14968d00d06a980b2d9a0a90826d9 (
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
61
62
63
64
65
66
67
68
69
70
71
72
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>
|