Skip to content

Instantly share code, notes, and snippets.

@KimiChiu
Created October 17, 2015 03:16
Show Gist options
  • Save KimiChiu/66083feed5884c731f87 to your computer and use it in GitHub Desktop.
Save KimiChiu/66083feed5884c731f87 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<RelativeLayout
android:id="@+id/favItemHolder"
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.v4.widget.SwipeRefreshLayout
android:id="@+id/pullToRefreshCateRecycler"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="visible">
<android.support.v7.widget.RecyclerView
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/cateRecyclerView"
android:layout_centerVertical="true"
android:layout_centerHorizontal="true"/>
</android.support.v4.widget.SwipeRefreshLayout>
</RelativeLayout>
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment