<?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="fill_parent"
    android:layout_height="match_parent">

    <FrameLayout
        android:id="@+id/video_container"
        android:layout_width="0dp"
        android:layout_height="0dp"
        app:layout_constraintBottom_toBottomOf="@android:id/list"
        app:layout_constraintEnd_toEndOf="@android:id/list"
        app:layout_constraintStart_toStartOf="@android:id/list"
        app:layout_constraintTop_toTopOf="@android:id/list" />

    <org.thoughtcrime.securesms.conversation.mutiselect.MultiselectRecyclerView
        android:id="@android:id/list"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:cacheColorHint="@color/signal_background_primary"
        android:clipChildren="false"
        android:clipToPadding="false"
        android:paddingBottom="@dimen/conversation_bottom_padding"
        android:scrollbars="vertical"
        android:splitMotionEvents="false"
        android:overScrollMode="ifContentScrolls"
        app:layout_constraintTop_toTopOf="parent" />

    <FrameLayout
        android:id="@+id/reactions_shade"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="@color/reactions_screen_light_shade_color"
        android:foreground="@color/reactions_screen_dark_shade_color"
        android:visibility="gone" />

    <TextView
        android:id="@+id/scroll_date_header"
        style="@style/Signal.Text.BodySmall"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginTop="8dp"
        android:background="@drawable/sticky_date_header_background"
        android:elevation="9dp"
        android:gravity="center"
        android:paddingStart="12dp"
        android:paddingTop="4dp"
        android:paddingEnd="12dp"
        android:paddingBottom="4dp"
        android:textColor="@color/signal_colorOnSurfaceVariant"
        android:visibility="gone"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        tools:text="March 1, 2015" />

    <View
        android:id="@+id/compose_divider"
        android:layout_width="match_parent"
        android:layout_height="2dp"
        android:alpha="1"
        android:background="@drawable/compose_divider_background"
        android:visibility="invisible"
        app:layout_constraintBottom_toBottomOf="parent" />

    <org.thoughtcrime.securesms.components.ConversationScrollToView
        android:id="@+id/scroll_to_mention"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginEnd="10dp"
        android:layout_marginBottom="12dp"
        android:visibility="invisible"
        app:cstv_scroll_button_src="@drawable/ic_at_24"
        app:layout_constraintBottom_toTopOf="@id/scroll_to_bottom"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_goneMarginBottom="20dp" />

    <org.thoughtcrime.securesms.components.ConversationScrollToView
        android:id="@+id/scroll_to_bottom"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginEnd="10dp"
        android:layout_marginBottom="16dp"
        android:visibility="invisible"
        app:cstv_scroll_button_src="@drawable/ic_chevron_down_20"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent" />

    <org.thoughtcrime.securesms.components.menu.SignalBottomActionBar
        android:id="@+id/conversation_bottom_action_bar"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginHorizontal="16dp"
        android:layout_marginBottom="16dp"
        android:visibility="gone"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent" />

</androidx.constraintlayout.widget.ConstraintLayout>
