소스 검색

傻呗 多放了一个ScrollView

HapeLee 1 년 전
부모
커밋
33f2cf7d3e
1개의 변경된 파일과 4개의 추가작업 그리고 10개의 파일을 삭제
  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"
         android:hint="@string/screen_find"
         app:layout_constraintTop_toTopOf="parent" />
         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_width="match_parent"
         android:layout_height="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
     <TextView
         android:id="@+id/tv_empty_msg"
         android:id="@+id/tv_empty_msg"