chapters_controller.xml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.coordinatorlayout.widget.CoordinatorLayout
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. xmlns:app="http://schemas.android.com/apk/res-auto"
  5. xmlns:tools="http://schemas.android.com/tools"
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent"
  8. android:orientation="vertical">
  9. <eu.kanade.tachiyomi.widget.RevealAnimationView
  10. android:id="@+id/reveal_view"
  11. android:layout_width="match_parent"
  12. android:layout_height="match_parent"
  13. android:background="?attr/colorAccent"
  14. android:elevation="5dp"
  15. android:visibility="invisible"/>
  16. <androidx.swiperefreshlayout.widget.SwipeRefreshLayout
  17. android:id="@+id/swipe_refresh"
  18. android:layout_width="match_parent"
  19. android:layout_height="match_parent"
  20. android:layout_above="@+id/toolbar_bottom"
  21. android:orientation="vertical">
  22. <androidx.recyclerview.widget.RecyclerView
  23. android:id="@+id/recycler"
  24. android:layout_width="match_parent"
  25. android:layout_height="match_parent"
  26. android:layout_marginLeft="16dp"
  27. android:layout_marginRight="16dp"
  28. android:descendantFocusability="blocksDescendants"
  29. tools:listitem="@layout/chapters_item">
  30. </androidx.recyclerview.widget.RecyclerView>
  31. </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
  32. <eu.davidea.fastscroller.FastScroller
  33. android:id="@+id/fast_scroller"
  34. android:layout_width="wrap_content"
  35. android:layout_height="match_parent"
  36. android:layout_centerHorizontal="true"
  37. android:layout_gravity="end"
  38. app:fastScrollerBubbleEnabled="false"
  39. tools:visibility="visible"/>
  40. <com.google.android.material.floatingactionbutton.FloatingActionButton
  41. android:id="@+id/fab"
  42. style="@style/Theme.Widget.FAB"
  43. app:layout_anchor="@id/recycler"
  44. app:srcCompat="@drawable/ic_play_arrow_white_24dp"/>
  45. </androidx.coordinatorlayout.widget.CoordinatorLayout>