mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-17 23:59:17 +01:00
3463d6c752
* MinMaxNumberPicker: Set IME input to use number only * MinMaxNumberPicker: Auto disable keyboard input when needed
52 lines
1.6 KiB
XML
52 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:baselineAligned="false"
|
|
android:orientation="horizontal">
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/portrait" />
|
|
|
|
<eu.kanade.tachiyomi.widget.MinMaxNumberPicker
|
|
android:id="@+id/portrait_columns"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
app:max="10"
|
|
app:min="0" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/landscape" />
|
|
|
|
<eu.kanade.tachiyomi.widget.MinMaxNumberPicker
|
|
android:id="@+id/landscape_columns"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
app:max="10"
|
|
app:min="0" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|