瀏覽代碼

文件夹样式快速滚动条 #300

HapeLee 1 年之前
父節點
當前提交
3ecda7d068
共有 1 個文件被更改,包括 3 次插入 和 1 次删除
  1. 3 1
      app/src/main/res/layout/fragment_bookshelf2.xml

+ 3 - 1
app/src/main/res/layout/fragment_bookshelf2.xml

@@ -39,6 +39,7 @@
         android:id="@+id/refresh_layout"
         android:id="@+id/refresh_layout"
         android:layout_width="match_parent"
         android:layout_width="match_parent"
         android:layout_height="match_parent"
         android:layout_height="match_parent"
+        android:layout_marginHorizontal="8dp"
         app:layout_behavior="@string/appbar_scrolling_view_behavior">
         app:layout_behavior="@string/appbar_scrolling_view_behavior">
 
 
         <FrameLayout
         <FrameLayout
@@ -48,7 +49,8 @@
             <io.legado.app.ui.widget.recycler.scroller.FastScrollRecyclerView
             <io.legado.app.ui.widget.recycler.scroller.FastScrollRecyclerView
                 android:id="@+id/rv_bookshelf"
                 android:id="@+id/rv_bookshelf"
                 android:layout_width="match_parent"
                 android:layout_width="match_parent"
-                android:layout_height="match_parent"/>
+                android:layout_height="match_parent"
+                android:clipToPadding="false"/>
 
 
             <io.legado.app.ui.widget.recycler.scroller.FastScroller
             <io.legado.app.ui.widget.recycler.scroller.FastScroller
                 android:id="@+id/fast_scroller"
                 android:id="@+id/fast_scroller"