Explorar el Código

傻呗 多放了一个ScrollView

HapeLee hace 1 año
padre
commit
33f2cf7d3e
Se han modificado 1 ficheros con 4 adiciones y 10 borrados
  1. 4 10
      app/src/main/res/layout/fragment_explore.xml

+ 4 - 10
app/src/main/res/layout/fragment_explore.xml

@@ -47,18 +47,12 @@
         android:hint="@string/screen_find"
         app:layout_constraintTop_toTopOf="parent" />
 
-    <androidx.core.widget.NestedScrollView
+    <androidx.recyclerview.widget.RecyclerView
+        android:id="@+id/rv_find"
         android:layout_width="match_parent"
         android:layout_height="match_parent"
-        app:layout_behavior="@string/appbar_scrolling_view_behavior">
-
-        <androidx.recyclerview.widget.RecyclerView
-            android:id="@+id/rv_find"
-            android:layout_width="match_parent"
-            android:layout_height="match_parent"
-            tools:listitem="@layout/item_find_book" />
-
-    </androidx.core.widget.NestedScrollView>
+        tools:listitem="@layout/item_find_book"
+        app:layout_behavior="@string/appbar_scrolling_view_behavior"/>
 
     <TextView
         android:id="@+id/tv_empty_msg"