282 lines
11 KiB
XML
282 lines
11 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
android:id="@+id/lt_root"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<RelativeLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="46dp"
|
||
|
android:background="@color/white">
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/titleView"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:layout_centerHorizontal="true"
|
||
|
android:gravity="center"
|
||
|
android:text="@string/im_system_msg"
|
||
|
android:textColor="@color/textColor"
|
||
|
android:textSize="18sp"
|
||
|
android:textStyle="bold" />
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/btn_back"
|
||
|
android:layout_width="40dp"
|
||
|
android:layout_height="40dp"
|
||
|
android:layout_centerVertical="true"
|
||
|
android:padding="9dp"
|
||
|
android:src="@mipmap/icon_back"
|
||
|
android:tint="@color/textColor" />
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/img_more"
|
||
|
android:layout_width="40dp"
|
||
|
android:layout_height="40dp"
|
||
|
android:layout_alignParentRight="true"
|
||
|
android:layout_centerVertical="true"
|
||
|
android:padding="6dp"
|
||
|
android:src="@mipmap/btn_more_black"
|
||
|
android:tint="@color/textColor"
|
||
|
android:visibility="gone" />
|
||
|
</RelativeLayout>
|
||
|
|
||
|
<com.yunbao.common.custom.CommonRefreshView
|
||
|
android:id="@+id/refreshView"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:layout_weight="1"
|
||
|
android:visibility="visible" />
|
||
|
|
||
|
<LinearLayout
|
||
|
android:id="@+id/lt_chat"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:layout_weight="1"
|
||
|
android:visibility="gone">
|
||
|
|
||
|
<androidx.recyclerview.widget.RecyclerView
|
||
|
android:id="@+id/rv_chat"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent" />
|
||
|
</LinearLayout>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:id="@+id/back_bt_jump"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:orientation="vertical"
|
||
|
android:visibility="gone">
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="48dp"
|
||
|
android:layout_marginBottom="6dp"
|
||
|
android:gravity="center"
|
||
|
android:orientation="horizontal">
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginLeft="12dp"
|
||
|
android:gravity="center">
|
||
|
|
||
|
<View
|
||
|
android:id="@+id/v_morefeatures"
|
||
|
android:layout_width="36dp"
|
||
|
android:layout_height="36dp"
|
||
|
android:background="@mipmap/btn_morefeatures" />
|
||
|
</LinearLayout>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:layout_marginLeft="9dp"
|
||
|
android:layout_weight="1"
|
||
|
android:gravity="center">
|
||
|
|
||
|
<EditText
|
||
|
android:id="@+id/feedback_edittext"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="42dp"
|
||
|
android:background="@drawable/background_d18_white"
|
||
|
android:paddingLeft="12dp"
|
||
|
android:paddingTop="6dp"
|
||
|
android:paddingRight="12dp"
|
||
|
android:paddingBottom="6dp"
|
||
|
android:text=""
|
||
|
android:textColor="@color/gray1" />
|
||
|
</LinearLayout>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="48dp"
|
||
|
android:layout_height="match_parent"
|
||
|
android:layout_marginLeft="6dp"
|
||
|
android:layout_marginRight="9dp"
|
||
|
android:gravity="center">
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/rttext_fasong"
|
||
|
android:layout_width="30dp"
|
||
|
android:layout_height="30dp"
|
||
|
android:background="@mipmap/btn_sand"
|
||
|
android:gravity="center" />
|
||
|
</LinearLayout>
|
||
|
</LinearLayout>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:id="@+id/lt_controls"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginTop="9dp"
|
||
|
android:layout_marginLeft="9dp"
|
||
|
android:layout_marginRight="9dp"
|
||
|
android:layout_marginBottom="18dp"
|
||
|
android:gravity="center"
|
||
|
android:orientation="vertical"
|
||
|
android:visibility="gone">
|
||
|
|
||
|
<View
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="1dp"
|
||
|
android:layout_marginBottom="9dp"
|
||
|
android:visibility="gone"
|
||
|
android:background="@color/gray_ededed" />
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:layout_marginLeft="12dp"
|
||
|
android:layout_marginRight="12dp"
|
||
|
android:layout_weight="1"
|
||
|
android:gravity=""
|
||
|
android:orientation="horizontal">
|
||
|
|
||
|
<LinearLayout
|
||
|
android:id="@+id/lt_photo_button"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:gravity="center"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<View
|
||
|
android:layout_width="54dp"
|
||
|
android:layout_height="54dp"
|
||
|
android:background="@mipmap/icon_camera" />
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginTop="6dp"
|
||
|
android:text="照片"
|
||
|
android:textSize="13sp" />
|
||
|
</LinearLayout>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:id="@+id/lt_choospic_button"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginLeft="21dp"
|
||
|
android:gravity="center"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<View
|
||
|
android:layout_width="54dp"
|
||
|
android:layout_height="54dp"
|
||
|
android:background="@mipmap/icon_photo" />
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginTop="6dp"
|
||
|
android:text="相册"
|
||
|
android:textSize="13sp" />
|
||
|
</LinearLayout>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:id="@+id/voice_button"
|
||
|
android:layout_width="48dp"
|
||
|
android:layout_height="48dp"
|
||
|
android:layout_marginLeft="3dp"
|
||
|
android:layout_marginRight="3dp"
|
||
|
android:gravity="center"
|
||
|
android:orientation="vertical"
|
||
|
android:visibility="gone">
|
||
|
|
||
|
<View
|
||
|
android:layout_width="36dp"
|
||
|
android:layout_height="32dp" />
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="录音"
|
||
|
android:textSize="13sp" />
|
||
|
</LinearLayout>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:id="@+id/sms_button"
|
||
|
android:layout_width="48dp"
|
||
|
android:layout_height="48dp"
|
||
|
android:layout_marginLeft="3dp"
|
||
|
android:gravity="center"
|
||
|
android:orientation="vertical"
|
||
|
android:visibility="gone">
|
||
|
|
||
|
<View
|
||
|
android:layout_width="36dp"
|
||
|
android:layout_height="32dp" />
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="短语"
|
||
|
android:textSize="13sp" />
|
||
|
</LinearLayout>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:id="@+id/lt_video_button"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginLeft="21dp"
|
||
|
android:gravity="center"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<View
|
||
|
android:layout_width="54dp"
|
||
|
android:layout_height="54dp"
|
||
|
android:background="@mipmap/icon_video" />
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginTop="6dp"
|
||
|
android:text="视频"
|
||
|
android:textSize="13sp" />
|
||
|
</LinearLayout>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:id="@+id/zuobiao_button"
|
||
|
android:layout_width="48dp"
|
||
|
android:layout_height="48dp"
|
||
|
android:layout_marginLeft="3dp"
|
||
|
android:gravity="center"
|
||
|
android:onClick="setOnClick"
|
||
|
android:orientation="vertical"
|
||
|
android:visibility="gone">
|
||
|
|
||
|
<View
|
||
|
android:layout_width="36dp"
|
||
|
android:layout_height="32dp" />
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="位置"
|
||
|
android:textSize="13sp" />
|
||
|
</LinearLayout>
|
||
|
</LinearLayout>
|
||
|
</LinearLayout>
|
||
|
</LinearLayout>
|
||
|
</LinearLayout>
|