reader_pager_settings.xml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout 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="wrap_content"
  7. android:orientation="vertical">
  8. <TextView
  9. android:id="@+id/pager_prefs"
  10. android:layout_width="match_parent"
  11. android:layout_height="wrap_content"
  12. android:paddingStart="16dp"
  13. android:paddingEnd="16dp"
  14. android:text="@string/pager_viewer"
  15. android:textAppearance="@style/TextAppearance.Medium.SubHeading" />
  16. <eu.kanade.tachiyomi.widget.MaterialSpinnerView
  17. android:id="@+id/pager_nav"
  18. android:layout_width="match_parent"
  19. android:layout_height="wrap_content"
  20. android:entries="@array/pager_nav"
  21. app:title="@string/pref_viewer_nav" />
  22. <eu.kanade.tachiyomi.widget.MaterialSpinnerView
  23. android:id="@+id/tapping_inverted"
  24. android:layout_width="match_parent"
  25. android:layout_height="wrap_content"
  26. android:entries="@array/invert_tapping_mode"
  27. app:title="@string/pref_read_with_tapping_inverted" />
  28. <eu.kanade.tachiyomi.widget.MaterialSpinnerView
  29. android:id="@+id/scale_type"
  30. android:layout_width="match_parent"
  31. android:layout_height="wrap_content"
  32. android:entries="@array/image_scale_type"
  33. app:title="@string/pref_image_scale_type" />
  34. <eu.kanade.tachiyomi.widget.MaterialSpinnerView
  35. android:id="@+id/zoom_start"
  36. android:layout_width="match_parent"
  37. android:layout_height="wrap_content"
  38. android:entries="@array/zoom_start"
  39. app:title="@string/pref_zoom_start" />
  40. <com.google.android.material.switchmaterial.SwitchMaterial
  41. android:id="@+id/crop_borders"
  42. android:layout_width="match_parent"
  43. android:layout_height="wrap_content"
  44. android:paddingStart="16dp"
  45. android:paddingEnd="16dp"
  46. android:text="@string/pref_crop_borders"
  47. android:textColor="?android:attr/textColorSecondary" />
  48. <com.google.android.material.switchmaterial.SwitchMaterial
  49. android:id="@+id/dual_page_split"
  50. android:layout_width="match_parent"
  51. android:layout_height="wrap_content"
  52. android:paddingStart="16dp"
  53. android:paddingEnd="16dp"
  54. android:text="@string/pref_dual_page_split"
  55. android:textColor="?android:attr/textColorSecondary" />
  56. <com.google.android.material.switchmaterial.SwitchMaterial
  57. android:id="@+id/dual_page_invert"
  58. android:layout_width="match_parent"
  59. android:layout_height="wrap_content"
  60. android:paddingStart="16dp"
  61. android:paddingEnd="16dp"
  62. android:text="@string/pref_dual_page_invert"
  63. android:textColor="?android:attr/textColorSecondary"
  64. android:visibility="gone"
  65. tools:visibility="visible" />
  66. <androidx.constraintlayout.widget.Group
  67. android:id="@+id/tapping_prefs_group"
  68. android:layout_width="wrap_content"
  69. android:layout_height="wrap_content"
  70. app:constraint_referenced_ids="pager_nav,tapping_inverted,dual_page_split,dual_page_invert" />
  71. </LinearLayout>