<?xml version="1.0" encoding="utf-8"?>
<layout 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">

    <RelativeLayout
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        android:paddingVertical="4dp">

        <LinearLayout
            android:id="@+id/message_box"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerHorizontal="true"
            android:background="@drawable/background_message_separator"
            android:backgroundTint="?colorSecondaryContainer"
            android:gravity="center_vertical"
            android:orientation="horizontal"
            android:paddingHorizontal="8dp"
            android:paddingVertical="4dp">

            <ImageView
                android:id="@+id/indicator_received"
                android:layout_width="18dp"
                android:layout_height="18dp"
                android:layout_marginStart="0sp"
                android:layout_marginEnd="4sp"
                app:tint="?colorOnSecondaryContainer"
                tools:src="@drawable/ic_call_received_24dp" />

            <TextView
                android:id="@+id/message_body"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:textAppearance="?textAppearanceBodyMedium"
                android:textColor="?colorOnSecondaryContainer"
                tools:text="@string/incoming_call" />
        </LinearLayout>
    </RelativeLayout>
</layout>