pref_library_columns.xml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:baselineAligned="false"
  7. android:orientation="horizontal"
  8. android:paddingStart="@dimen/dialog_content_padding"
  9. android:paddingTop="@dimen/dialog_margin_top_content"
  10. android:paddingEnd="@dimen/dialog_content_padding"
  11. android:paddingBottom="@dimen/dialog_content_padding">
  12. <LinearLayout
  13. android:layout_width="0dp"
  14. android:layout_height="wrap_content"
  15. android:layout_weight="1"
  16. android:gravity="center"
  17. android:orientation="vertical">
  18. <TextView
  19. android:layout_width="wrap_content"
  20. android:layout_height="wrap_content"
  21. android:text="@string/portrait" />
  22. <eu.kanade.tachiyomi.widget.MinMaxNumberPicker
  23. android:id="@+id/portrait_columns"
  24. android:layout_width="wrap_content"
  25. android:layout_height="wrap_content"
  26. android:descendantFocusability="blocksDescendants"
  27. app:max="10"
  28. app:min="0" />
  29. </LinearLayout>
  30. <LinearLayout
  31. android:layout_width="0dp"
  32. android:layout_height="wrap_content"
  33. android:layout_weight="1"
  34. android:gravity="center"
  35. android:orientation="vertical">
  36. <TextView
  37. android:layout_width="wrap_content"
  38. android:layout_height="wrap_content"
  39. android:text="@string/landscape" />
  40. <eu.kanade.tachiyomi.widget.MinMaxNumberPicker
  41. android:id="@+id/landscape_columns"
  42. android:layout_width="wrap_content"
  43. android:layout_height="wrap_content"
  44. android:descendantFocusability="blocksDescendants"
  45. app:max="10"
  46. app:min="0" />
  47. </LinearLayout>
  48. </LinearLayout>