reader_webtoon_settings.xml 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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/webtoon_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/webtoon_viewer"
  15. android:textAppearance="@style/TextAppearance.Medium.SubHeading" />
  16. <eu.kanade.tachiyomi.widget.MaterialSpinnerView
  17. android:id="@+id/webtoon_nav"
  18. android:layout_width="match_parent"
  19. android:layout_height="wrap_content"
  20. android:entries="@array/webtoon_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/webtoon_side_padding"
  30. android:layout_width="match_parent"
  31. android:layout_height="wrap_content"
  32. android:entries="@array/webtoon_side_padding"
  33. app:title="@string/pref_webtoon_side_padding" />
  34. <com.google.android.material.switchmaterial.SwitchMaterial
  35. android:id="@+id/crop_borders_webtoon"
  36. android:layout_width="match_parent"
  37. android:layout_height="wrap_content"
  38. android:paddingStart="16dp"
  39. android:paddingEnd="16dp"
  40. android:text="@string/pref_crop_borders"
  41. android:textColor="?android:attr/textColorSecondary" />
  42. <com.google.android.material.switchmaterial.SwitchMaterial
  43. android:id="@+id/dual_page_split"
  44. android:layout_width="match_parent"
  45. android:layout_height="wrap_content"
  46. android:paddingStart="16dp"
  47. android:paddingEnd="16dp"
  48. android:text="@string/pref_dual_page_split"
  49. android:textColor="?android:attr/textColorSecondary" />
  50. <com.google.android.material.switchmaterial.SwitchMaterial
  51. android:id="@+id/dual_page_invert"
  52. android:layout_width="match_parent"
  53. android:layout_height="wrap_content"
  54. android:paddingStart="16dp"
  55. android:paddingEnd="16dp"
  56. android:text="@string/pref_dual_page_invert"
  57. android:textColor="?android:attr/textColorSecondary"
  58. android:visibility="gone"
  59. tools:visibility="visible" />
  60. <androidx.constraintlayout.widget.Group
  61. android:id="@+id/tapping_prefs_group"
  62. android:layout_width="wrap_content"
  63. android:layout_height="wrap_content"
  64. app:constraint_referenced_ids="webtoon_nav,tapping_inverted,dual_page_split,dual_page_invert" />
  65. </LinearLayout>