|
|
|
@ -1,11 +1,10 @@ |
|
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
|
|
|
xmlns:tools="http://schemas.android.com/tools" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto" |
|
|
|
|
android:background="?android:attr/selectableItemBackground" |
|
|
|
|
android:gravity="center_vertical" |
|
|
|
|
android:orientation="horizontal" |
|
|
|
|
android:padding="16dp"> |
|
|
|
|
|
|
|
|
|
<io.legado.app.lib.theme.view.ATECheckBox |
|
|
|
@ -13,9 +12,12 @@ |
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_gravity="center" |
|
|
|
|
android:layout_weight="1" |
|
|
|
|
android:singleLine="true" |
|
|
|
|
android:textColor="@color/tv_text_default" /> |
|
|
|
|
android:textColor="@color/tv_text_default" |
|
|
|
|
app:layout_constraintLeft_toLeftOf="parent" |
|
|
|
|
app:layout_constraintRight_toLeftOf="@id/swt_enabled" |
|
|
|
|
app:layout_constraintTop_toTopOf="parent" |
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent" /> |
|
|
|
|
|
|
|
|
|
<io.legado.app.lib.theme.view.ATESwitch |
|
|
|
|
android:id="@+id/swt_enabled" |
|
|
|
@ -24,7 +26,10 @@ |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginLeft="6dp" |
|
|
|
|
android:layout_marginRight="6dp" |
|
|
|
|
tools:ignore="RtlSymmetry" /> |
|
|
|
|
tools:ignore="RtlSymmetry" |
|
|
|
|
app:layout_constraintRight_toLeftOf="@id/iv_edit" |
|
|
|
|
app:layout_constraintTop_toTopOf="parent" |
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent" /> |
|
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView |
|
|
|
|
android:id="@+id/iv_edit" |
|
|
|
@ -35,7 +40,10 @@ |
|
|
|
|
android:contentDescription="@string/edit" |
|
|
|
|
android:padding="6dp" |
|
|
|
|
android:src="@drawable/ic_edit" |
|
|
|
|
android:tint="@color/tv_text_default" /> |
|
|
|
|
android:tint="@color/tv_text_default" |
|
|
|
|
app:layout_constraintRight_toLeftOf="@id/iv_menu_more" |
|
|
|
|
app:layout_constraintTop_toTopOf="parent" |
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent" /> |
|
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView |
|
|
|
|
android:id="@+id/iv_menu_more" |
|
|
|
@ -45,6 +53,17 @@ |
|
|
|
|
android:padding="6dp" |
|
|
|
|
android:src="@drawable/ic_more_vert" |
|
|
|
|
android:tint="@color/tv_text_default" |
|
|
|
|
app:layout_constraintRight_toRightOf="parent" |
|
|
|
|
app:layout_constraintTop_toTopOf="parent" |
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
|
|
tools:ignore="RtlHardcoded" /> |
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
<io.legado.app.ui.widget.image.CircleImageView |
|
|
|
|
android:id="@+id/iv_explore" |
|
|
|
|
android:layout_width="8dp" |
|
|
|
|
android:layout_height="8dp" |
|
|
|
|
android:src="@color/md_green_600" |
|
|
|
|
app:layout_constraintRight_toRightOf="parent" |
|
|
|
|
app:layout_constraintTop_toTopOf="parent" /> |
|
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |