<FrameLayout 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.plastix.forage.ui.cachelist.CacheListFragment">

    <android.support.v4.widget.SwipeRefreshLayout
        android:id="@+id/cachelist_swiperefresh"
        android:layout_width="match_parent"
        android:layout_height="match_parent">


        <android.support.v7.widget.RecyclerView
            android:id="@+id/cachelist_recyclerview"
            android:layout_width="match_parent"
            android:layout_height="match_parent"/>

    </android.support.v4.widget.SwipeRefreshLayout>

    <include layout="@layout/empty_view"/>

</FrameLayout>

<FrameLayout 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.plastix.forage.ui.cachelist.CacheListFragment">

    <android.support.v4.widget.SwipeRefreshLayout
        android:id="@+id/cachelist_swiperefresh"
        android:layout_width="match_parent"
        android:layout_height="match_parent">


        <android.support.v7.widget.RecyclerView
            android:id="@+id/cachelist_recyclerview"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            tools:listitem="@layout/cache_item"/>

    </android.support.v4.widget.SwipeRefreshLayout>

    <include
        layout="@layout/empty_view"
        tools:visibility="gone"/>

</FrameLayout>

Add design-time attributes to CacheListFragment This makes it show up nicely in the new AS layout preview.
Add design-time attributes to CacheListFragment
This makes it show up nicely in the new AS layout preview.
