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.
56 lines
2.2 KiB
56 lines
2.2 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<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:paddingLeft="10dp"
|
|
android:paddingTop="10dp"
|
|
android:paddingBottom="10dp"
|
|
tools:ignore="RtlHardcoded,RtlSymmetry">
|
|
|
|
<TextView
|
|
android:id="@+id/tv_origin"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:singleLine="true"
|
|
android:textColor="@color/primaryText"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintRight_toLeftOf="@+id/tv_author" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_author"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:singleLine="true"
|
|
android:textColor="@color/primaryText"
|
|
android:maxWidth="160dp"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintRight_toLeftOf="@+id/iv_checked" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_last"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:singleLine="true"
|
|
android:textColor="@color/secondaryText"
|
|
app:layout_constraintTop_toBottomOf="@+id/tv_origin"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintRight_toLeftOf="@+id/iv_checked" />
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:id="@+id/iv_checked"
|
|
android:layout_width="40dp"
|
|
android:layout_height="40dp"
|
|
android:padding="8dp"
|
|
android:src="@drawable/ic_check"
|
|
android:visibility="invisible"
|
|
app:tint="@color/primaryText"
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintBottom_toBottomOf="parent" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |