pull/1238/head^2
gedoor 3 years ago
parent 45694e5c6f
commit e3f93e0407
  1. 70
      app/src/main/res/layout/dialog_bookshelf_config.xml

@ -7,35 +7,47 @@
xmlns:app="http://schemas.android.com/apk/res-auto"> xmlns:app="http://schemas.android.com/apk/res-auto">
<LinearLayout <LinearLayout
android:id="@+id/ll_layout" android:id="@+id/ll_group_style"
android:layout_width="0dp" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical" android:orientation="horizontal"
app:layout_constraintRight_toLeftOf="@+id/ll_sort" app:layout_constraintTop_toTopOf="parent">
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintLeft_toLeftOf="parent">
<LinearLayout <TextView
android:layout_width="match_parent" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="horizontal"> android:layout_weight="1"
android:padding="6dp"
android:text="@string/group_style"
android:textColor="@color/primaryText" />
<io.legado.app.ui.widget.text.AccentTextView <androidx.appcompat.widget.AppCompatSpinner
android:layout_width="wrap_content" android:id="@+id/sp_group_style"
android:layout_height="wrap_content" android:layout_width="wrap_content"
android:padding="6dp" android:layout_height="wrap_content"
android:text="@string/group_style" android:entries="@array/group_style"
android:textSize="16sp" /> app:theme="@style/Spinner"
tools:ignore="TouchTargetSizeCheck" />
<androidx.appcompat.widget.AppCompatSpinner </LinearLayout>
android:id="@+id/sp_group_style"
android:layout_width="wrap_content" <io.legado.app.lib.theme.view.ATESwitch
android:layout_height="wrap_content" android:id="@+id/sw_show_unread"
android:entries="@array/group_style" android:layout_width="match_parent"
app:theme="@style/Spinner" android:layout_height="wrap_content"
tools:ignore="TouchTargetSizeCheck" /> android:padding="6dp"
android:text="@string/show_unread"
app:layout_constraintTop_toBottomOf="@+id/ll_group_style"
tools:ignore="TouchTargetSizeCheck" />
</LinearLayout> <LinearLayout
android:id="@+id/ll_layout"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:orientation="vertical"
app:layout_constraintRight_toLeftOf="@+id/ll_sort"
app:layout_constraintTop_toBottomOf="@+id/sw_show_unread"
app:layout_constraintLeft_toLeftOf="parent">
<io.legado.app.ui.widget.text.AccentTextView <io.legado.app.ui.widget.text.AccentTextView
android:layout_width="match_parent" android:layout_width="match_parent"
@ -83,18 +95,6 @@
</LinearLayout> </LinearLayout>
<io.legado.app.lib.theme.view.ATESwitch
android:id="@+id/sw_show_unread"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:padding="6dp"
android:text="@string/show_unread"
app:layout_constraintLeft_toRightOf="@+id/ll_layout"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:ignore="TouchTargetSizeCheck" />
<LinearLayout <LinearLayout
android:id="@+id/ll_sort" android:id="@+id/ll_sort"
android:layout_width="0dp" android:layout_width="0dp"

Loading…
Cancel
Save