You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
74 lines
2.9 KiB
74 lines
2.9 KiB
<?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="12dp">
|
|
|
|
<TextView
|
|
android:id="@+id/tv_name"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:padding="3dp"
|
|
android:textSize="16sp"
|
|
android:textColor="@color/primaryText"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintRight_toLeftOf="@id/iv_edit"
|
|
tools:text="name" />
|
|
|
|
<io.legado.app.ui.widget.text.AccentBgTextView
|
|
android:id="@+id/tv_type"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:padding="3dp"
|
|
android:textSize="12sp"
|
|
app:radius="2dp"
|
|
app:layout_constraintTop_toBottomOf="@+id/tv_name"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
tools:text="type" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_url"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:padding="3dp"
|
|
android:textSize="12sp"
|
|
android:textColor="@color/secondaryText"
|
|
android:ellipsize="middle"
|
|
android:singleLine="true"
|
|
app:layout_constraintTop_toBottomOf="@+id/tv_name"
|
|
app:layout_constraintLeft_toRightOf="@+id/tv_type"
|
|
app:layout_constraintRight_toLeftOf="@+id/iv_edit"
|
|
tools:text="url" />
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:id="@+id/iv_edit"
|
|
android:layout_width="36dp"
|
|
android:layout_height="36dp"
|
|
android:layout_gravity="center"
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
|
android:contentDescription="@string/edit"
|
|
android:padding="6dp"
|
|
android:src="@drawable/ic_edit"
|
|
android:tint="@color/primaryText"
|
|
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"
|
|
android:layout_width="36dp"
|
|
android:layout_height="36dp"
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
|
android:padding="6dp"
|
|
android:src="@drawable/ic_more_vert"
|
|
android:tint="@color/primaryText"
|
|
android:contentDescription="@string/more_menu"
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
tools:ignore="RtlHardcoded" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |