|
@@ -40,10 +40,10 @@
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_margin="6dp"
|
|
android:layout_margin="6dp"
|
|
|
android:hint="@string/group_name"
|
|
android:hint="@string/group_name"
|
|
|
|
|
+ app:layout_constraintBottom_toTopOf="@+id/tv_sort"
|
|
|
app:layout_constraintLeft_toRightOf="@+id/iv_cover"
|
|
app:layout_constraintLeft_toRightOf="@+id/iv_cover"
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/tool_bar"
|
|
|
|
|
- app:layout_constraintBottom_toTopOf="@+id/tv_sort">
|
|
|
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tool_bar">
|
|
|
|
|
|
|
|
<io.legado.app.lib.theme.view.ThemeEditText
|
|
<io.legado.app.lib.theme.view.ThemeEditText
|
|
|
android:id="@+id/tie_group_name"
|
|
android:id="@+id/tie_group_name"
|
|
@@ -53,22 +53,34 @@
|
|
|
tools:ignore="TouchTargetSizeCheck,SpeakableTextPresentCheck" />
|
|
tools:ignore="TouchTargetSizeCheck,SpeakableTextPresentCheck" />
|
|
|
</io.legado.app.ui.widget.text.TextInputLayout>
|
|
</io.legado.app.ui.widget.text.TextInputLayout>
|
|
|
|
|
|
|
|
- <TextView
|
|
|
|
|
|
|
+ <io.legado.app.ui.widget.text.AccentTextView
|
|
|
android:id="@+id/tv_sort"
|
|
android:id="@+id/tv_sort"
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:text="@string/sort"
|
|
android:text="@string/sort"
|
|
|
android:textColor="@color/primaryText"
|
|
android:textColor="@color/primaryText"
|
|
|
- app:layout_constraintTop_toBottomOf="@id/til_group_name"
|
|
|
|
|
|
|
+ app:layout_constraintBottom_toTopOf="@id/btn_ok"
|
|
|
app:layout_constraintLeft_toLeftOf="@id/til_group_name"
|
|
app:layout_constraintLeft_toLeftOf="@id/til_group_name"
|
|
|
- app:layout_constraintBottom_toTopOf="@id/btn_ok" />
|
|
|
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/til_group_name" />
|
|
|
|
|
+
|
|
|
|
|
+ <androidx.appcompat.widget.AppCompatSpinner
|
|
|
|
|
+ android:id="@+id/sp_sort"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginLeft="6dp"
|
|
|
|
|
+ android:entries="@array/book_sort"
|
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="@id/tv_sort"
|
|
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/tv_sort"
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="@id/tv_sort"
|
|
|
|
|
+ app:theme="@style/Spinner"
|
|
|
|
|
+ tools:ignore="RtlHardcoded" />
|
|
|
|
|
|
|
|
<io.legado.app.ui.widget.text.AccentTextView
|
|
<io.legado.app.ui.widget.text.AccentTextView
|
|
|
android:id="@+id/btn_delete"
|
|
android:id="@+id/btn_delete"
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
- android:padding="6dp"
|
|
|
|
|
android:layout_margin="6dp"
|
|
android:layout_margin="6dp"
|
|
|
|
|
+ android:padding="6dp"
|
|
|
android:text="@string/delete"
|
|
android:text="@string/delete"
|
|
|
app:layout_constraintBottom_toBottomOf="@id/btn_ok"
|
|
app:layout_constraintBottom_toBottomOf="@id/btn_ok"
|
|
|
app:layout_constraintLeft_toRightOf="@+id/iv_cover"
|
|
app:layout_constraintLeft_toRightOf="@+id/iv_cover"
|
|
@@ -79,8 +91,8 @@
|
|
|
android:id="@+id/btn_ok"
|
|
android:id="@+id/btn_ok"
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
- android:padding="6dp"
|
|
|
|
|
android:layout_margin="6dp"
|
|
android:layout_margin="6dp"
|
|
|
|
|
+ android:padding="6dp"
|
|
|
android:text="@string/ok"
|
|
android:text="@string/ok"
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
@@ -91,8 +103,8 @@
|
|
|
android:id="@+id/btn_cancel"
|
|
android:id="@+id/btn_cancel"
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
- android:padding="6dp"
|
|
|
|
|
android:layout_margin="6dp"
|
|
android:layout_margin="6dp"
|
|
|
|
|
+ android:padding="6dp"
|
|
|
android:text="@string/cancel"
|
|
android:text="@string/cancel"
|
|
|
app:layout_constraintBottom_toBottomOf="@id/btn_ok"
|
|
app:layout_constraintBottom_toBottomOf="@id/btn_ok"
|
|
|
app:layout_constraintRight_toLeftOf="@+id/btn_ok"
|
|
app:layout_constraintRight_toLeftOf="@+id/btn_ok"
|