manga_controller.xml 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. android:orientation="vertical">
  8. <eu.kanade.tachiyomi.widget.ThemedSwipeRefreshLayout
  9. android:id="@+id/swipe_refresh"
  10. android:layout_width="match_parent"
  11. android:layout_height="match_parent">
  12. <androidx.constraintlayout.widget.ConstraintLayout
  13. android:id="@+id/linear_recycler_layout"
  14. android:layout_width="match_parent"
  15. android:layout_height="match_parent"
  16. android:orientation="horizontal">
  17. <androidx.recyclerview.widget.RecyclerView
  18. android:id="@+id/info_recycler"
  19. android:layout_width="0dp"
  20. android:layout_height="match_parent"
  21. android:clipToPadding="false"
  22. app:layout_constraintBottom_toBottomOf="parent"
  23. app:layout_constraintEnd_toStartOf="@id/chapters_recycler"
  24. app:layout_constraintStart_toStartOf="parent"
  25. app:layout_constraintTop_toTopOf="parent"
  26. app:layout_constraintWidth_max="@dimen/tablet_sidebar_max_width"
  27. app:layout_constraintWidth_percent="0.5"
  28. tools:itemCount="1"
  29. tools:listitem="@layout/manga_info_header" />
  30. <androidx.recyclerview.widget.RecyclerView
  31. android:id="@+id/chapters_recycler"
  32. android:layout_width="0dp"
  33. android:layout_height="match_parent"
  34. android:clipToPadding="false"
  35. android:paddingBottom="@dimen/fab_list_padding"
  36. app:layout_constraintBottom_toBottomOf="parent"
  37. app:layout_constraintEnd_toEndOf="parent"
  38. app:layout_constraintStart_toEndOf="@id/info_recycler"
  39. app:layout_constraintTop_toTopOf="parent"
  40. tools:listitem="@layout/chapters_item" />
  41. </androidx.constraintlayout.widget.ConstraintLayout>
  42. </eu.kanade.tachiyomi.widget.ThemedSwipeRefreshLayout>
  43. <eu.kanade.tachiyomi.widget.MaterialFastScroll
  44. android:id="@+id/fast_scroller"
  45. android:layout_width="wrap_content"
  46. android:layout_height="match_parent"
  47. android:layout_centerHorizontal="true"
  48. android:layout_gravity="end"
  49. app:fastScrollerBubbleEnabled="false"
  50. tools:visibility="visible" />
  51. </androidx.coordinatorlayout.widget.CoordinatorLayout>