<?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:id="@+id/notification_report"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical"
    android:paddingLeft="14dp"
    android:paddingRight="14dp">

    <TextView
        android:id="@+id/notification_top_text"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintLeft_toLeftOf="parent"
        android:layout_marginTop="8dp"
        android:drawablePadding="10dp"
        android:ellipsize="end"
        android:gravity="center_vertical"
        android:maxLines="1"
        android:paddingStart="28dp"
        android:textColor="?android:textColorSecondary"
        android:textSize="?attr/status_text_medium"
        tools:text="Someone reported someone else" />

    <ImageView
        android:id="@+id/notification_reportee_avatar"
        android:layout_width="48dp"
        android:layout_height="48dp"
        app:layout_constraintTop_toBottomOf="@id/notification_top_text"
        app:layout_constraintLeft_toLeftOf="parent"
        android:layout_marginTop="10dp"
        android:layout_marginEnd="14dp"
        android:layout_marginBottom="14dp"
        android:contentDescription="@string/action_view_profile"
        android:scaleType="centerCrop"
        tools:ignore="RtlHardcoded,RtlSymmetry"
        tools:src="@drawable/avatar_default" />

    <ImageView
        android:id="@+id/notification_reporter_avatar"
        android:layout_width="24dp"
        android:layout_height="24dp"
        app:layout_constraintRight_toRightOf="@id/notification_reportee_avatar"
        app:layout_constraintBottom_toBottomOf="@id/notification_reportee_avatar"
        />

    <TextView
        android:id="@+id/notification_summary"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginTop="-4dp"
        android:layout_marginStart="14dp"
        app:layout_constraintTop_toTopOf="@id/notification_reportee_avatar"
        app:layout_constraintLeft_toRightOf="@id/notification_reporter_avatar"
        android:importantForAccessibility="no"
        android:hyphenationFrequency="full"
        android:lineSpacingMultiplier="1.1"
        android:textColor="?android:textColorTertiary"
        android:textSize="?attr/status_text_medium"
        tools:text="30 minutes ago - 2 posts" />

    <TextView
        android:id="@+id/notification_category"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginStart="14dp"
        app:layout_constraintTop_toBottomOf="@id/notification_summary"
        app:layout_constraintLeft_toRightOf="@id/notification_reporter_avatar"
        android:importantForAccessibility="no"
        android:hyphenationFrequency="full"
        android:lineSpacingMultiplier="1.1"
        android:paddingBottom="10dp"
        android:textColor="?android:textColorTertiary"
        android:textSize="?attr/status_text_medium"
        android:textStyle="bold"
        tools:text="Spam" />

</androidx.constraintlayout.widget.ConstraintLayout>
