<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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="match_parent"
    android:background="?attr/core_bg_color"
    android:orientation="vertical">

    <com.tencent.qcloud.tuikit.timcommon.component.TitleBarLayout
        android:id="@+id/add_more_detail_title_bar"
        android:layout_width="match_parent"
        android:layout_height="@dimen/page_title_height"
        app:title_bar_can_return="true" />

    <ScrollView
        android:layout_width="match_parent"
        android:layout_height="wrap_content">

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="vertical">

            <RelativeLayout
                android:id="@+id/friend_detail_area"
                android:layout_width="match_parent"
                android:layout_height="90dp"
                android:background="#FFFFFF"
                android:gravity="center_vertical"
                android:orientation="horizontal"
                android:padding="@dimen/page_margin">

                <com.tencent.qcloud.tuikit.timcommon.component.gatherimage.ShadeImageView
                    android:id="@+id/friend_icon"
                    android:layout_width="46dp"
                    android:layout_height="46dp"
                    android:layout_gravity="start"
                    android:layout_marginStart="5.3dp"
                    android:layout_marginTop="-12dp"
                    android:layout_marginEnd="15.3dp"
                    android:scaleType="centerCrop" />

                <TextView
                    android:id="@+id/friend_nick_name"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_alignTop="@id/friend_icon"
                    android:layout_toEndOf="@id/friend_icon"
                    android:ellipsize="end"
                    android:gravity="center_vertical"
                    android:singleLine="true"
                    android:textSize="17sp"
                    tools:text="Lee" />

                <TextView
                    android:id="@+id/friend_account_tag"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_below="@id/friend_nick_name"
                    android:layout_alignStart="@id/friend_nick_name"
                    android:layout_marginTop="4dp"
                    android:gravity="center_vertical"
                    android:text="@string/contact_account_tag"
                    android:textDirection="locale"
                    android:textSize="12.5sp" />

                <TextView
                    android:id="@+id/friend_account"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_below="@id/friend_nick_name"
                    android:layout_alignTop="@+id/friend_account_tag"
                    android:layout_toEndOf="@id/friend_account_tag"
                    android:gravity="center_vertical"
                    android:textSize="12.5sp"
                    tools:text="99618" />

                <TextView
                    android:id="@+id/friend_signature_tag"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_below="@id/friend_account_tag"
                    android:layout_alignStart="@id/friend_account_tag"
                    android:layout_marginTop="3.8dp"
                    android:gravity="center_vertical"
                    android:text="@string/contact_signature_tag"
                    android:textDirection="locale"
                    android:textSize="12.5sp" />


                <TextView
                    android:id="@+id/friend_signature"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_alignTop="@id/friend_signature_tag"
                    android:layout_toEndOf="@id/friend_signature_tag"
                    android:ellipsize="end"
                    android:gravity="center_vertical"
                    android:singleLine="true"
                    android:textSize="12.5sp"
                    tools:text="Believe" />

            </RelativeLayout>

            <LinearLayout
                android:id="@+id/verify_area"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:orientation="vertical"
                tools:visibility="visible">

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginStart="15.36dp"
                    android:layout_marginTop="10dp"
                    android:layout_marginBottom="10dp"
                    android:text="@string/contact_set_add_wording" />

                <EditText
                    android:id="@+id/add_wording_edit"
                    android:layout_width="match_parent"
                    android:layout_height="138dp"
                    android:background="@color/white"
                    android:gravity="top"
                    android:maxLines="5" />

                <LinearLayout
                    android:id="@+id/remarks_area"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:orientation="vertical">

                    <TextView
                        android:id="@+id/remark_and_group_tip"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_marginStart="15.36dp"
                        android:layout_marginTop="10dp"
                        android:text="@string/contact_set_remark_and_group" />

                    <com.tencent.qcloud.tuikit.timcommon.component.LineControllerView
                        android:id="@+id/friend_remark_lv"
                        android:layout_width="match_parent"
                        android:layout_height="46dp"
                        android:layout_marginTop="10dp"
                        app:canNav="true"
                        app:name="@string/contact_friend_remark" />
                </LinearLayout>
            </LinearLayout>

            <TextView
                android:id="@+id/add_send_btn"
                android:layout_width="match_parent"
                android:layout_height="53dp"
                android:layout_gravity="center"
                android:layout_marginTop="10dp"
                android:background="@drawable/contact_btn_bg_color"
                android:gravity="center"
                android:text="@string/contact_add"
                android:textAlignment="center"
                android:textAllCaps="false"
                android:textColor="?attr/core_primary_color"
                android:textSize="16.3sp"
                tools:visibility="visible" />

        </LinearLayout>
    </ScrollView>

</LinearLayout>
