| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <?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"
- android:orientation="vertical"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:paddingStart="16dp"
- android:paddingEnd="10dp"
- android:paddingVertical="12dp"
- android:background="?attr/selectableItemBackground">
- <com.google.android.material.button.MaterialButton
- android:id="@+id/btn_locate"
- android:layout_width="40dp"
- android:layout_height="40dp"
- app:iconSize="16dp"
- app:iconGravity="textStart"
- app:icon="@drawable/ic_locate"
- style="@style/Widget.Material3Expressive.Button.IconButton.Outlined"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintBottom_toBottomOf="parent"/>
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:orientation="vertical"
- android:layout_marginEnd="8dp"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintEnd_toStartOf="@id/btn_locate"
- app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintBottom_toBottomOf="parent">
- <TextView
- android:id="@+id/tv_chapter_name"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:paddingBottom="2dp"
- android:textSize="16sp"
- android:textStyle="bold" />
- <TextView
- android:id="@+id/tv_book_text"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:paddingBottom="2dp"
- android:textSize="13sp"
- android:singleLine="true" />
- <TextView
- android:id="@+id/tv_content"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:textColor="?attr/colorSecondary"
- android:textSize="12sp"
- android:singleLine="true" />
- </LinearLayout>
- </androidx.constraintlayout.widget.ConstraintLayout>
|