Created
August 26, 2019 18:08
-
-
Save DanishAmjad12/5baa8c5dc4bf56ce5e7f9decc5ec1b9b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:background="@color/activity_background" | |
android:orientation="vertical"> | |
<com.savyour.util.ui.CustomSwipeToRefresh | |
android:id="@+id/swipe_refresh" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
app:layout_behavior="@string/appbar_scrolling_view_behavior"> | |
<androidx.core.widget.NestedScrollView | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:fillViewport="true" | |
android:scrollbars="none"> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:focusableInTouchMode="true" | |
android:orientation="vertical"> | |
<androidx.recyclerview.widget.RecyclerView | |
android:id="@+id/recycler" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:descendantFocusability="blocksDescendants" | |
android:fitsSystemWindows="true" | |
android:focusableInTouchMode="true" /> | |
</LinearLayout> | |
</androidx.core.widget.NestedScrollView> | |
</com.savyour.util.ui.CustomSwipeToRefresh> | |
</LinearLayout> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment