|
|
@ -1,17 +1,23 @@ |
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
|
<?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:app="http://schemas.android.com/apk/res-auto" |
|
|
|
xmlns:tools="http://schemas.android.com/tools" |
|
|
|
xmlns:tools="http://schemas.android.com/tools" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:padding="8dp" |
|
|
|
android:padding="8dp"> |
|
|
|
android:gravity="center_vertical" |
|
|
|
|
|
|
|
android:orientation="horizontal"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.lib.theme.view.ThemeCheckBox |
|
|
|
<io.legado.app.lib.theme.view.ThemeCheckBox |
|
|
|
android:id="@+id/cb_source_name" |
|
|
|
android:id="@+id/cb_source_name" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:maxLines="1" |
|
|
|
android:maxLines="1" |
|
|
|
|
|
|
|
app:layout_constrainedWidth="true" |
|
|
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
|
|
|
|
|
app:layout_constraintHorizontal_bias="0" |
|
|
|
|
|
|
|
app:layout_constraintHorizontal_chainStyle="packed" |
|
|
|
|
|
|
|
app:layout_constraintLeft_toLeftOf="parent" |
|
|
|
|
|
|
|
app:layout_constraintRight_toLeftOf="@+id/tv_source_state" |
|
|
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" |
|
|
|
tools:ignore="TouchTargetSizeCheck" /> |
|
|
|
tools:ignore="TouchTargetSizeCheck" /> |
|
|
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
<TextView |
|
|
@ -19,19 +25,22 @@ |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:padding="8dp" |
|
|
|
android:padding="8dp" |
|
|
|
android:textColor="@color/secondaryText" /> |
|
|
|
android:textColor="@color/secondaryText" |
|
|
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
|
<Space |
|
|
|
app:layout_constraintLeft_toRightOf="@id/cb_source_name" |
|
|
|
android:layout_width="0dp" |
|
|
|
app:layout_constraintRight_toLeftOf="@id/tv_open" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
app:layout_constraintTop_toTopOf="parent" |
|
|
|
android:layout_weight="1" /> |
|
|
|
app:layout_constraintHorizontal_chainStyle="packed" /> |
|
|
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
<TextView |
|
|
|
android:id="@+id/tv_see" |
|
|
|
android:id="@+id/tv_open" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:padding="8dp" |
|
|
|
android:padding="8dp" |
|
|
|
|
|
|
|
android:text="@string/open" |
|
|
|
android:textColor="@color/secondaryText" |
|
|
|
android:textColor="@color/secondaryText" |
|
|
|
android:text="@string/see" /> |
|
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
|
|
|
|
|
app:layout_constraintRight_toRightOf="parent" |
|
|
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" /> |
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |