<?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"
    tools:context="io.github.hidroh.materialistic.ItemActivity">

    <android.support.v4.widget.SwipeRefreshLayout
        android:id="@id/swipe_layout"
        android:layout_width="match_parent"
        android:layout_height="match_parent">
        <android.support.v7.widget.RecyclerView
            android:id="@id/recycler_view"
            android:layout_width="match_parent"
            android:layout_height="wrap_content" />
    </android.support.v4.widget.SwipeRefreshLayout>
    <TextView
        android:id="@android:id/empty"
        android:text="@string/no_comments"
        android:layout_centerInParent="true"
        android:visibility="gone"
        style="@style/textEmptyStyle" />

</RelativeLayout>
<?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"
    tools:context="io.github.hidroh.materialistic.ItemActivity">

    <android.support.v4.widget.SwipeRefreshLayout
        android:id="@id/swipe_layout"
        android:layout_width="match_parent"
        android:layout_height="match_parent">
        <android.support.v7.widget.RecyclerView
            android:id="@id/recycler_view"
            android:scrollbars="vertical"
            android:layout_width="match_parent"
            android:layout_height="wrap_content" />
    </android.support.v4.widget.SwipeRefreshLayout>
    <TextView
        android:id="@android:id/empty"
        android:text="@string/no_comments"
        android:layout_centerInParent="true"
        android:visibility="gone"
        style="@style/textEmptyStyle" />

</RelativeLayout>
Add scrollbar for long comment list
Add scrollbar for long comment list
