Skip to content

Instantly share code, notes, and snippets.

@amit-bhandari
Last active April 14, 2019 15:03
Show Gist options
  • Save amit-bhandari/0f42d6e3ec182fa4f4b445a863c03b0c to your computer and use it in GitHub Desktop.
Save amit-bhandari/0f42d6e3ec182fa4f4b445a863c03b0c to your computer and use it in GitHub Desktop.
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<android.support.v4.widget.SwipeRefreshLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/swipe_to_refresh"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<android.support.v7.widget.RecyclerView
android:id="@+id/recycler_view_quotes"
android:layout_width="match_parent"
android:layout_height="match_parent">
</android.support.v7.widget.RecyclerView>
</android.support.v4.widget.SwipeRefreshLayout>
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment