2018-09-23 07:02:19 +05:30
|
|
|
<?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"
|
2019-02-24 02:21:11 +05:30
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:paddingTop="10dp">
|
2018-09-23 07:02:19 +05:30
|
|
|
|
|
|
|
<android.support.v7.widget.RecyclerView
|
|
|
|
android:id="@+id/items_list"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:scrollbars="vertical"
|
|
|
|
tools:listitem="@layout/list_comments_item"/>
|
|
|
|
|
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/loading_progress_bar"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerInParent="true"
|
|
|
|
android:indeterminate="true"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible"/>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/empty_state_view"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2018-10-02 20:39:16 +05:30
|
|
|
android:layout_centerHorizontal="true"
|
2018-09-23 07:02:19 +05:30
|
|
|
android:orientation="vertical"
|
2019-02-24 02:21:11 +05:30
|
|
|
android:paddingTop="85dp"
|
2018-09-23 07:02:19 +05:30
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_marginBottom="10dp"
|
|
|
|
android:fontFamily="monospace"
|
|
|
|
android:text="(╯°-°)╯"
|
|
|
|
android:textSize="35sp"
|
|
|
|
tools:ignore="HardcodedText,UnusedAttribute"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
2018-09-24 14:53:43 +05:30
|
|
|
android:text="@string/empty_view_no_comments"
|
2018-09-23 07:02:19 +05:30
|
|
|
android:textSize="24sp"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<!--ERROR PANEL-->
|
|
|
|
<include
|
|
|
|
android:id="@+id/error_panel"
|
|
|
|
layout="@layout/error_retry"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerInParent="true"
|
|
|
|
android:layout_marginTop="50dp"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible"/>
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="4dp"
|
|
|
|
android:background="?attr/toolbar_shadow_drawable"
|
2018-10-17 00:23:02 +05:30
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:visibility="gone"/>
|
2018-09-23 07:02:19 +05:30
|
|
|
|
|
|
|
</RelativeLayout>
|