<?xml version="1.0" encoding="utf-8"?>
<org.thoughtcrime.securesms.conversation.v2.ConversationReactionOverlay 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/conversation_reaction_scrubber"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:elevation="1000dp"
    android:visibility="gone"
    tools:visibility="visible">

    <Space
        android:id="@+id/dropdown_anchor"
        android:layout_width="0dp"
        android:layout_height="0dp"
        android:layout_gravity="left"
        tools:ignore="RtlHardcoded" />

    <LinearLayout
        android:id="@+id/conversation_item"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:orientation="horizontal">

         <View
            android:id="@+id/conversation_item_bubble"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content" />

        <TextView
            android:id="@+id/conversation_item_timestamp"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center_vertical"
            android:layout_marginHorizontal="@dimen/small_spacing"
            android:maxLines="1"
            android:textSize="11sp" />

    </LinearLayout>

    <View
        android:id="@+id/conversation_reaction_scrubber_background"
        android:layout_width="@dimen/reaction_scrubber_width"
        android:layout_height="?attr/actionBarSize"
        android:layout_marginBottom="40dp"
        android:alpha="0"
        android:background="@drawable/conversation_reaction_overlay_background"
        android:elevation="4dp"
        tools:alpha="1" />

    <androidx.constraintlayout.widget.ConstraintLayout
        android:id="@+id/conversation_reaction_scrubber_foreground"
        android:layout_width="@dimen/reaction_scrubber_width"
        android:layout_height="@dimen/conversation_reaction_scrubber_height"
        android:clipToPadding="false"
        android:elevation="4dp">

        <org.thoughtcrime.securesms.components.emoji.EmojiImageView
            android:id="@+id/reaction_1"
            android:layout_width="32dp"
            android:layout_height="48dp"
            android:alpha="0"
            android:translationY="@dimen/reaction_scrubber_anim_start_translation_y"
            app:forceJumbo="true"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toStartOf="@id/reaction_2"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toTopOf="parent"
            tools:alpha="1"
            tools:translationY="0dp"
            tools:src="@drawable/ic_outline_disabled_by_default_24" />

        <org.thoughtcrime.securesms.components.emoji.EmojiImageView
            android:id="@+id/reaction_2"
            android:layout_width="32dp"
            android:layout_height="48dp"
            android:alpha="0"
            android:translationY="@dimen/reaction_scrubber_anim_start_translation_y"
            app:forceJumbo="true"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toStartOf="@id/reaction_3"
            app:layout_constraintStart_toEndOf="@id/reaction_1"
            app:layout_constraintTop_toTopOf="parent"
            tools:alpha="1"
            tools:translationY="0dp"
            tools:src="@drawable/ic_outline_disabled_by_default_24" />

        <org.thoughtcrime.securesms.components.emoji.EmojiImageView
            android:id="@+id/reaction_3"
            android:layout_width="32dp"
            android:layout_height="48dp"
            android:alpha="0"
            android:translationY="@dimen/reaction_scrubber_anim_start_translation_y"
            app:forceJumbo="true"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toStartOf="@id/reaction_4"
            app:layout_constraintStart_toEndOf="@id/reaction_2"
            app:layout_constraintTop_toTopOf="parent"
            tools:alpha="1"
            tools:translationY="0dp"
            tools:src="@drawable/ic_outline_disabled_by_default_24" />

        <org.thoughtcrime.securesms.components.emoji.EmojiImageView
            android:id="@+id/reaction_4"
            android:layout_width="32dp"
            android:layout_height="48dp"
            android:alpha="0"
            android:translationY="@dimen/reaction_scrubber_anim_start_translation_y"
            app:forceJumbo="true"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toStartOf="@id/reaction_5"
            app:layout_constraintStart_toEndOf="@id/reaction_3"
            app:layout_constraintTop_toTopOf="parent"
            tools:alpha="1"
            tools:translationY="0dp"
            tools:src="@drawable/ic_outline_disabled_by_default_24" />

        <org.thoughtcrime.securesms.components.emoji.EmojiImageView
            android:id="@+id/reaction_5"
            android:layout_width="32dp"
            android:layout_height="48dp"
            android:alpha="0"
            android:translationY="@dimen/reaction_scrubber_anim_start_translation_y"
            app:forceJumbo="true"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toStartOf="@id/reaction_6"
            app:layout_constraintStart_toEndOf="@id/reaction_4"
            app:layout_constraintTop_toTopOf="parent"
            tools:alpha="1"
            tools:translationY="0dp"
            tools:src="@drawable/ic_outline_disabled_by_default_24" />

        <org.thoughtcrime.securesms.components.emoji.EmojiImageView
            android:id="@+id/reaction_6"
            android:layout_width="32dp"
            android:layout_height="48dp"
            android:alpha="0"
            android:translationY="@dimen/reaction_scrubber_anim_start_translation_y"
            app:forceJumbo="true"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toStartOf="@id/reaction_7"
            app:layout_constraintStart_toEndOf="@id/reaction_5"
            app:layout_constraintTop_toTopOf="parent"
            tools:alpha="1"
            tools:translationY="0dp"
            tools:src="@drawable/ic_outline_disabled_by_default_24" />

        <View
            android:id="@+id/reaction_7_background"
            android:layout_width="52dp"
            android:layout_height="52dp"
            android:alpha="0.5"
            android:background="@drawable/reactions_old_background"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintLeft_toLeftOf="@id/reaction_7"
            app:layout_constraintRight_toRightOf="@id/reaction_7"
            app:layout_constraintTop_toTopOf="parent" />

        <org.thoughtcrime.securesms.components.emoji.EmojiImageView
            android:id="@+id/reaction_7"
            android:layout_width="32dp"
            android:layout_height="48dp"
            android:alpha="0"
            android:translationY="@dimen/reaction_scrubber_anim_start_translation_y"
            app:forceJumbo="true"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintStart_toEndOf="@id/reaction_6"
            app:layout_constraintTop_toTopOf="parent"
            tools:alpha="1"
            tools:translationY="0dp"
            tools:src="@drawable/ic_plus" />

    </androidx.constraintlayout.widget.ConstraintLayout>
</org.thoughtcrime.securesms.conversation.v2.ConversationReactionOverlay>