<?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/new_friend_application_detail_title_bar"
        android:layout_width="match_parent"
        android:layout_height="@dimen/page_title_height" />

    <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="@dimen/contact_profile_self_height"
                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="@dimen/contact_profile_face_size"
                    android:layout_height="@dimen/contact_profile_face_size"
                    android:layout_gravity="start"
                    android:layout_marginStart="@dimen/contact_profile_face_margin_left"
                    android:layout_marginTop="@dimen/contact_profile_face_margin_top"
                    android:layout_marginEnd="@dimen/contact_profile_face_margin_right"
                    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="@dimen/contact_profile_nick_name_text_size"
                    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="@dimen/contact_profile_text_margin"
                    android:gravity="center_vertical"
                    android:text="@string/contact_account_tag"
                    android:textDirection="locale"
                    android:textSize="@dimen/contact_profile_account_text_size" />

                <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="@dimen/contact_profile_account_text_size"
                    tools:text="99618" />

            </RelativeLayout>

            <LinearLayout
                android:id="@+id/friend_application_verify_area"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:paddingBottom="10dp"
                android:background="@color/white"
                android:orientation="horizontal"
                tools:visibility="visible">

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginStart="15.36dp"
                    android:textDirection="locale"
                    android:text="@string/contact_add_wording" />

                <TextView
                    android:id="@+id/friend_application_add_wording"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    tools:text="Hello" />

            </LinearLayout>


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

                <TextView
                    android:id="@+id/accept_friend_send_btn"
                    android:layout_width="match_parent"
                    android:layout_height="@dimen/contact_profile_btn_height"
                    android:layout_marginTop="10dp"
                    android:background="@drawable/contact_btn_bg_color"
                    android:text="@string/accept"
                    android:textColor="?attr/core_primary_color"
                    android:textSize="@dimen/contact_profile_btn_text_size"
                    android:layout_gravity="center"
                    android:textAlignment="center"
                    android:gravity="center"
                    android:textAllCaps="false"
                    tools:visibility="visible" />

                <TextView
                    android:id="@+id/refuse_friend_send_btn"
                    android:layout_width="match_parent"
                    android:layout_height="@dimen/contact_profile_btn_height"
                    android:layout_marginTop="0.6dp"
                    android:background="@drawable/contact_btn_bg_color"
                    android:text="@string/refuse"
                    android:textColor="?attr/core_error_tip_color"
                    android:textAllCaps="false"
                    android:textSize="@dimen/contact_profile_btn_text_size"
                    android:layout_gravity="center"
                    android:textAlignment="center"
                    android:gravity="center"
                    tools:visibility="visible" />

                <TextView
                    android:id="@+id/result_button"
                    android:layout_width="match_parent"
                    android:layout_height="@dimen/contact_profile_btn_height"
                    android:layout_marginTop="10dp"
                    android:background="@drawable/contact_btn_bg_color"
                    android:text="@string/profile_chat"
                    android:textColor="?attr/core_primary_color"
                    android:textSize="@dimen/contact_profile_btn_text_size"
                    android:layout_gravity="center"
                    android:textAlignment="center"
                    android:gravity="center"
                    android:textAllCaps="false"
                    android:visibility="gone"
                    tools:visibility="visible"/>

            </LinearLayout>
        </LinearLayout>
    </ScrollView>
</LinearLayout>
