mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
48 lines
2.0 KiB
XML
48 lines
2.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<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"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:padding="8dp">
|
|
|
|
<io.legado.app.lib.theme.view.ThemeCheckBox
|
|
android:id="@+id/cb_source_name"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
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" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_source_state"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:padding="8dp"
|
|
android:textColor="@color/secondaryText"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintLeft_toRightOf="@id/cb_source_name"
|
|
app:layout_constraintRight_toLeftOf="@id/tv_open"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintHorizontal_chainStyle="packed" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_open"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="12dp"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:padding="8dp"
|
|
android:text="@string/open"
|
|
android:textColor="@color/secondaryText"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |