<?xml version="1.0" encoding="utf-8"?>

<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
             xmlns:tools="http://schemas.android.com/tools"
             android:id="@+id/conversation_container"
             android:layout_width="fill_parent"
             android:layout_height="match_parent">

    <androidx.recyclerview.widget.RecyclerView
            android:id="@android:id/list"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:paddingBottom="8dp"
            android:scrollbars="vertical"
            android:cacheColorHint="?conversation_background"
            android:clipChildren="false"
            android:clipToPadding="false"/>

    <org.thoughtcrime.securesms.components.emoji.EmojiTextView
        android:id="@+id/no_messages_text_view"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:visibility="visible"
        style="@style/NoMessagesTextView"
        tools:text="@string/chat_new_one_to_one_hint"
        />

    <View
        android:layout_width="match_parent"
          android:layout_height="2dp"
          android:layout_gravity="bottom"
          android:background="@drawable/compose_divider_background"
          android:alpha="1" />

    <ImageButton
        android:id="@+id/floating_location_button"
        android:visibility="gone"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginEnd="6dp"
        android:layout_marginRight="6dp"
        android:layout_marginTop="8dp"
        android:layout_gravity="top|end"
        android:padding="5dp"
        android:background="?attr/floating_mini_bg"
        android:elevation="1dp"
        android:alpha="0.9"
        android:contentDescription="Location streaming enabled"
        android:src="@drawable/ic_location_on_white_24dp"
        android:tint="@color/location_icon"/>

    <ImageButton
        android:id="@+id/scroll_to_bottom_button"
        android:visibility="gone"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginEnd="10dp"
        android:layout_marginRight="10dp"
        android:layout_marginBottom="20dp"
        android:layout_gravity="bottom|end"
        android:padding="5dp"
        android:background="?attr/floating_mini_bg"
        android:tint="@color/gray50"
        android:elevation="1dp"
        android:alpha="0.9"
        android:contentDescription="@string/menu_scroll_to_bottom"
        android:src="@drawable/ic_scroll_down"/>

</FrameLayout>
