mihon/app/src/main/res/layout/pref_library_columns.xml

58 lines
1.9 KiB
XML
Raw Normal View History

2015-12-27 14:58:36 +01:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2020-02-22 00:43:50 +01:00
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:baselineAligned="false"
2020-02-22 00:43:50 +01:00
android:orientation="horizontal"
android:paddingStart="@dimen/dialog_content_padding"
android:paddingTop="@dimen/dialog_margin_top_content"
android:paddingEnd="@dimen/dialog_content_padding"
android:paddingBottom="@dimen/dialog_content_padding">
2015-12-27 14:58:36 +01:00
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
2016-03-12 14:22:40 +01:00
android:gravity="center"
android:orientation="vertical">
2015-12-27 14:58:36 +01:00
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2020-02-22 00:43:50 +01:00
android:text="@string/portrait" />
2015-12-27 14:58:36 +01:00
2016-01-15 15:18:19 +01:00
<eu.kanade.tachiyomi.widget.MinMaxNumberPicker
2015-12-27 14:58:36 +01:00
android:id="@+id/portrait_columns"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:descendantFocusability="blocksDescendants"
2016-03-12 14:22:40 +01:00
app:max="10"
2020-02-22 00:43:50 +01:00
app:min="0" />
2015-12-27 14:58:36 +01:00
</LinearLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
2016-03-12 14:22:40 +01:00
android:gravity="center"
android:orientation="vertical">
2015-12-27 14:58:36 +01:00
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2020-02-22 00:43:50 +01:00
android:text="@string/landscape" />
2015-12-27 14:58:36 +01:00
2016-01-15 15:18:19 +01:00
<eu.kanade.tachiyomi.widget.MinMaxNumberPicker
2015-12-27 14:58:36 +01:00
android:id="@+id/landscape_columns"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:descendantFocusability="blocksDescendants"
2016-03-12 14:22:40 +01:00
app:max="10"
2020-02-22 00:43:50 +01:00
app:min="0" />
2015-12-27 14:58:36 +01:00
</LinearLayout>
</LinearLayout>