<?xml version="1.0" encoding="utf-8"?>
<com.tencent.qcloud.tuikit.timcommon.component.MaxWidthLinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:id="@+id/reply_container"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:minWidth="@dimen/reply_message_content_min_width"
    app:maxWidth="@dimen/reply_message_content_max_width"
    android:orientation="vertical">

    <LinearLayout
        android:id="@+id/origin_msg_abs_layout"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="?attr/chat_self_reply_quote_bg_color"
        android:orientation="horizontal">

        <View
            android:id="@+id/reply_line"
            android:layout_width="2dp"
            android:layout_height="match_parent"
            android:background="?attr/chat_self_reply_line_bg_color"
            android:layout_marginEnd="@dimen/reply_line_margin_right" />

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="@dimen/reply_sender_margin_top"
            android:paddingBottom="@dimen/reply_abstract_padding_bottom"
            android:orientation="vertical">

            <TextView
                android:id="@+id/sender_tv"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginEnd="6.5dp"
                android:layout_marginBottom="@dimen/reply_abstract_margin_bottom"
                android:ellipsize="end"
                android:maxLines="1"
                android:textColor="?attr/chat_self_reply_quote_text_color"
                android:textStyle="bold"
                android:textSize="@dimen/reply_origin_text_size" />

            <FrameLayout
                android:id="@+id/quote_frame_layout"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"/>
        </LinearLayout>

    </LinearLayout>

    <TextView
        android:id="@+id/reply_content_tv"
        android:ellipsize="end"
        android:textSize="@dimen/reply_text_size"
        android:includeFontPadding="false"
        android:layout_marginTop="@dimen/chat_item_padding_bottom"
        android:textColor="?attr/chat_self_reply_text_color"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content" />

</com.tencent.qcloud.tuikit.timcommon.component.MaxWidthLinearLayout>