<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:id="@+id/note_subitem_container"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:background="?selectableItemBackground"
    tools:context=".ui.modules.schoolannouncement.SchoolAnnouncementAdapter">

    <TextView
        android:id="@+id/schoolAnnouncementItemDate"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_marginStart="15dp"
        android:layout_marginTop="10dp"
        android:layout_marginEnd="10dp"
        android:textColor="?android:textColorSecondary"
        android:textSize="15sp"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        tools:text="@tools:sample/date/ddmmyy" />

    <TextView
        android:id="@+id/schoolAnnouncementItemType"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_marginTop="5dp"
        android:layout_marginBottom="5dp"
        android:ellipsize="end"
        android:maxLines="2"
        android:textSize="16sp"
        app:layout_constraintEnd_toEndOf="@id/schoolAnnouncementItemDate"
        app:layout_constraintStart_toStartOf="@id/schoolAnnouncementItemDate"
        app:layout_constraintTop_toBottomOf="@id/schoolAnnouncementItemDate"
        app:layout_goneMarginEnd="0dp"
        tools:text="@tools:sample/lorem" />

    <TextView
        android:id="@+id/schoolAnnouncementItemContent"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_marginTop="5dp"
        android:layout_marginBottom="15dp"
        android:ellipsize="end"
        android:lineSpacingMultiplier="1.2"
        android:maxLines="2"
        android:textSize="14sp"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="@+id/schoolAnnouncementItemType"
        app:layout_constraintStart_toStartOf="@id/schoolAnnouncementItemDate"
        app:layout_constraintTop_toBottomOf="@id/schoolAnnouncementItemType"
        tools:text="@tools:sample/lorem/random" />
</androidx.constraintlayout.widget.ConstraintLayout>
