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

57 lines
2 KiB
XML
Raw Normal View History

2015-12-27 16:58:36 +03:00
<?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"
2016-03-12 16:22:40 +03:00
android:orientation="horizontal"
android:paddingBottom="@dimen/dialog_content_padding"
android:paddingStart="@dimen/dialog_content_padding"
android:paddingEnd="@dimen/dialog_content_padding"
2016-03-12 16:22:40 +03:00
android:paddingTop="@dimen/dialog_margin_top_content">
2015-12-27 16:58:36 +03:00
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
2016-03-12 16:22:40 +03:00
android:gravity="center"
android:orientation="vertical">
2015-12-27 16:58:36 +03:00
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/portrait"/>
2016-01-15 17:18:19 +03:00
<eu.kanade.tachiyomi.widget.MinMaxNumberPicker
2015-12-27 16:58:36 +03:00
android:id="@+id/portrait_columns"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:descendantFocusability="blocksDescendants"
2016-03-12 16:22:40 +03:00
app:max="10"
app:min="0"/>
2015-12-27 16:58:36 +03:00
</LinearLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
2016-03-12 16:22:40 +03:00
android:gravity="center"
android:orientation="vertical">
2015-12-27 16:58:36 +03:00
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/landscape"/>
2016-01-15 17:18:19 +03:00
<eu.kanade.tachiyomi.widget.MinMaxNumberPicker
2015-12-27 16:58:36 +03:00
android:id="@+id/landscape_columns"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:descendantFocusability="blocksDescendants"
2016-03-12 16:22:40 +03:00
app:max="10"
app:min="0"/>
2015-12-27 16:58:36 +03:00
</LinearLayout>
</LinearLayout>