forked from github/wulkanowy-mirror
42 lines
1.7 KiB
XML
42 lines
1.7 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="64dp"
|
||
|
android:background="?selectableItemBackground"
|
||
|
android:clickable="true"
|
||
|
android:focusable="true">
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/student_info_item_title"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="28dp"
|
||
|
android:layout_marginStart="16dp"
|
||
|
android:layout_marginTop="5dp"
|
||
|
android:layout_marginEnd="16dp"
|
||
|
android:gravity="bottom"
|
||
|
android:maxLines="1"
|
||
|
android:textColor="?android:textColorPrimary"
|
||
|
android:textSize="16sp"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
app:layout_constraintTop_toTopOf="parent"
|
||
|
tools:text="@tools:sample/lorem/random" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/student_info_item_subtitle"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="18dp"
|
||
|
android:layout_marginStart="16dp"
|
||
|
android:layout_marginEnd="16dp"
|
||
|
android:gravity="bottom"
|
||
|
android:maxLines="1"
|
||
|
android:textColor="?android:textColorSecondary"
|
||
|
android:textSize="12sp"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
app:layout_constraintTop_toBottomOf="@id/student_info_item_title"
|
||
|
tools:text="@tools:sample/lorem/random" />
|
||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|