55 lines
2.2 KiB
XML
55 lines
2.2 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:background="?selectableItemBackground"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:minHeight="64dp">
|
|
|
|
<TextView
|
|
android:id="@+id/student_info_item_title"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginTop="13dp"
|
|
android:layout_marginEnd="16dp"
|
|
android:gravity="bottom"
|
|
android:textColor="?android:textColorSecondary"
|
|
android:textSize="12sp"
|
|
app:layout_constraintEnd_toStartOf="@id/student_info_item_arrow"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
tools:maxLines="1"
|
|
tools:text="@tools:sample/lorem/random" />
|
|
|
|
<TextView
|
|
android:id="@+id/student_info_item_subtitle"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginEnd="16dp"
|
|
android:gravity="bottom"
|
|
android:textColor="?android:textColorPrimary"
|
|
android:textSize="16sp"
|
|
app:layout_constraintEnd_toStartOf="@id/student_info_item_arrow"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/student_info_item_title"
|
|
tools:maxLines="1"
|
|
tools:text="@tools:sample/lorem/random" />
|
|
|
|
<ImageView
|
|
android:id="@+id/student_info_item_arrow"
|
|
android:layout_width="24dp"
|
|
android:layout_height="24dp"
|
|
android:layout_marginEnd="16dp"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:srcCompat="@drawable/ic_chevron_right"
|
|
app:tint="?colorOnBackground"
|
|
tools:ignore="ContentDescription" />
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|