<?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"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:background="?selectableItemBackground"
    android:paddingHorizontal="@dimen/medium_spacing"
    android:paddingVertical="@dimen/small_spacing">

    <TextView
        android:id="@+id/titleTextView"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_marginTop="@dimen/small_spacing"
        android:ellipsize="end"
        android:lines="1"
        android:textSize="@dimen/text_size"
        android:textStyle="bold"
        app:layout_goneMarginBottom="@dimen/small_spacing"
        app:layout_constraintEnd_toStartOf="@id/selectButton"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintBottom_toTopOf="@id/subtitleTextView"
        tools:text="@tools:sample/cities" />

    <TextView
        android:id="@+id/subtitleTextView"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_marginBottom="@dimen/small_spacing"
        android:ellipsize="end"
        android:lines="1"
        android:textSize="@dimen/very_small_font_size"
        android:visibility="gone"
        app:layout_constraintEnd_toStartOf="@id/selectButton"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@id/titleTextView"
        tools:text="@tools:sample/full_names"
        tools:visibility="visible"/>

    <View
        android:id="@+id/selectButton"
        android:layout_width="@dimen/small_radial_size"
        android:layout_height="@dimen/small_radial_size"
        android:background="@drawable/padded_circle_accent_select"
        android:foreground="@drawable/radial_multi_select"
        app:layout_constraintHorizontal_bias="1"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintStart_toEndOf="@id/titleTextView"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintEnd_toEndOf="parent"/>

</androidx.constraintlayout.widget.ConstraintLayout>