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