<?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="wrap_content"
    android:orientation="vertical"
    android:paddingLeft="14dp"
    android:paddingRight="14dp"
    android:paddingBottom="10dp">

    <TextView
        android:id="@+id/notification_text"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginTop="8dp"
        android:drawableStart="@drawable/ic_person_add_24dp"
        android:drawablePadding="10dp"
        android:ellipsize="end"
        android:gravity="center_vertical"
        android:maxLines="1"
        android:paddingStart="28dp"
        android:textColor="?android:textColorTertiary"
        android:textSize="?attr/status_text_medium"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        tools:text="Someone followed you" />

    <ImageView
        android:id="@+id/notification_avatar"
        android:layout_width="48dp"
        android:layout_height="48dp"
        android:layout_alignParentStart="false"
        android:layout_marginTop="10dp"
        android:contentDescription="@string/action_view_profile"
        android:scaleType="centerCrop"
        android:textSize="?attr/status_text_medium"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@+id/notification_text"
        tools:src="@drawable/avatar_default" />

    <TextView
        android:id="@+id/notification_display_name"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginStart="14dp"
        android:layout_marginTop="6dp"
        android:ellipsize="end"
        android:maxLines="1"
        android:paddingEnd="@dimen/status_display_name_padding_end"
        android:textColor="?android:textColorPrimary"
        android:textSize="?attr/status_text_medium"
        android:textStyle="normal|bold"
        app:layout_constraintStart_toEndOf="@id/notification_avatar"
        app:layout_constraintTop_toBottomOf="@+id/notification_text"
        tools:text="Test User"
        tools:ignore="RtlSymmetry" />

    <TextView
        android:id="@+id/notification_username"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:ellipsize="end"
        android:maxLines="1"
        android:textColor="?android:textColorSecondary"
        android:textSize="?attr/status_text_medium"
        app:layout_constraintStart_toEndOf="@+id/notification_display_name"
        app:layout_constraintTop_toTopOf="@+id/notification_display_name"
        tools:text="\@testuser" />

    <com.keylesspalace.tusky.view.ClickableSpanTextView
        android:id="@+id/notification_account_note"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_marginTop="7dp"
        android:hyphenationFrequency="full"
        android:lineSpacingMultiplier="1.1"
        android:textSize="?attr/status_text_medium"
        android:textIsSelectable="true"
        app:layout_constrainedWidth="true"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="@+id/notification_display_name"
        app:layout_constraintTop_toBottomOf="@+id/notification_display_name"
        tools:text="Account note" />

</androidx.constraintlayout.widget.ConstraintLayout>
