<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/loginItemContainer"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:background="?selectableItemBackground"
    android:minHeight="72dp"
    android:paddingTop="8dp"
    android:paddingBottom="8dp"
    tools:context=".ui.modules.login.studentselect.LoginStudentSelectAdapter">

    <com.google.android.material.checkbox.MaterialCheckBox
        android:id="@+id/loginItemCheck"
        android:layout_width="32dp"
        android:layout_height="24dp"
        android:layout_centerVertical="true"
        android:layout_marginStart="12dp"
        android:layout_marginEnd="28dp"
        android:background="@android:color/transparent"
        tools:text=" " />

    <TextView
        android:id="@+id/loginItemName"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginEnd="16dp"
        android:layout_toEndOf="@id/loginItemCheck"
        android:ellipsize="end"
        android:gravity="bottom"
        android:maxLines="1"
        android:textSize="16sp"
        tools:text="@tools:sample/full_names" />

    <TextView
        android:id="@+id/loginItemSchool"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_below="@id/loginItemName"
        android:layout_marginEnd="16dp"
        android:layout_toEndOf="@id/loginItemCheck"
        android:ellipsize="end"
        android:gravity="bottom"
        android:maxLines="2"
        android:textColor="?android:textColorSecondary"
        android:textSize="14sp"
        tools:text="@tools:sample/lorem/random" />

    <TextView
        android:id="@+id/loginItemSignedIn"
        android:layout_width="wrap_content"
        android:layout_height="20dp"
        android:layout_below="@id/loginItemSchool"
        android:layout_marginEnd="16dp"
        android:layout_toEndOf="@id/loginItemCheck"
        android:ellipsize="end"
        android:enabled="false"
        android:gravity="bottom"
        android:maxLines="1"
        android:text="@string/login_signed_in"
        android:textColor="?android:textColorSecondary"
        android:textSize="14sp"
        android:visibility="gone"
        tools:visibility="visible" />
</RelativeLayout>
