fix new fastscroller in SwipeRefreshLayout by swapping parents

This commit is contained in:
tibbi
2021-11-25 22:20:14 +01:00
parent d741dc5936
commit 62bd27306b
2 changed files with 47 additions and 46 deletions

View File

@ -57,7 +57,7 @@ android {
}
dependencies {
implementation 'com.github.SimpleMobileTools:Simple-Commons:51f1996098'
implementation 'com.github.SimpleMobileTools:Simple-Commons:a09d871ffd'
implementation 'com.github.Stericson:RootTools:df729dcb13'
implementation 'com.github.Stericson:RootShell:1.6'
implementation 'com.alexvasilkov:gesture-views:2.5.2'

View File

@ -10,11 +10,6 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
android:id="@+id/items_swipe_refresh"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<RelativeLayout
android:id="@+id/items_wrapper"
android:layout_width="match_parent"
@ -60,11 +55,17 @@
android:textStyle="italic"
android:visibility="gone" />
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
android:id="@+id/items_swipe_refresh"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/breadcrumbs">
<com.qtalk.recyclerviewfastscroller.RecyclerViewFastScroller
android:id="@+id/items_fastscroller"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/breadcrumbs">
app:supportSwipeToRefresh="true">
<com.simplemobiletools.commons.views.MyRecyclerView
android:id="@+id/items_list"
@ -76,8 +77,8 @@
app:layoutManager="com.simplemobiletools.commons.views.MyGridLayoutManager" />
</com.qtalk.recyclerviewfastscroller.RecyclerViewFastScroller>
</RelativeLayout>
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
</RelativeLayout>
<com.simplemobiletools.commons.views.MyFloatingActionButton
android:id="@+id/items_fab"