<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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:paddingBottom="20dp"
    android:background="#FFFFFFFF"
    android:orientation="horizontal">

    <com.tencent.qcloud.tuikit.timcommon.component.RoundCornerImageView
        android:id="@+id/user_icon"
        android:layout_width="32dp"
        android:layout_height="32dp"
        android:layout_marginEnd="6dp"
        android:layout_gravity="bottom|start"
        app:corner_radius="16dp"
        tools:visibility="visible" />

    <FrameLayout
        android:id="@+id/msg_content"
        android:layout_toEndOf="@id/user_icon"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:background="@drawable/chat_message_popup_stroke_border_left"
        android:paddingStart="16dp"
        android:paddingTop="8dp"
        android:paddingEnd="16dp"
        android:paddingBottom="8dp">

        <com.tencent.qcloud.tuikit.timcommon.minimalistui.widget.message.TimeInLineTextLayout
            android:id="@+id/time_in_line_text"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content" />

    </FrameLayout>

    <!-- translation content area -->
    <com.tencent.qcloud.tuikit.timcommon.component.MaxWidthFrameLayout
        android:id="@+id/bottom_content_fl"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_toEndOf="@id/user_icon"
        android:layout_below="@id/msg_content"
        android:layout_marginTop="4dp"
        android:layout_marginBottom="4dp"
        android:background="@drawable/chat_message_bottom_area_bg"
        app:maxWidth="@dimen/chat_message_content_max_width"
        android:visibility="gone"
        tools:visibility="visible"/>
</RelativeLayout>