<?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"
|
android:layout_width="match_parent"
|
android:id="@+id/ll_root"
|
android:layout_height="match_parent"
|
android:layout_marginTop="@dimen/margin_common"
|
android:layout_marginBottom="@dimen/margin_common"
|
android:layout_marginRight="@dimen/margin_common"
|
android:orientation="vertical">
|
<LinearLayout
|
android:id="@+id/ll_header"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="@dimen/margin_common"
|
android:background="@color/white"
|
android:layout_marginBottom="@dimen/margin_common_half"
|
android:orientation="horizontal">
|
|
<cn.wildfire.chat.kit.widget.RoundImageView
|
android:id="@+id/iv_mine_icon"
|
android:layout_marginLeft="@dimen/margin_common"
|
android:layout_marginRight="12dp"
|
app:roundSize="10dp"
|
android:layout_width="50dp"
|
android:layout_height="50dp" />
|
|
<LinearLayout
|
android:orientation="vertical"
|
android:layout_weight="1"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content">
|
|
<LinearLayout
|
android:orientation="horizontal"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
|
<TextView
|
android:id="@+id/tv_mine_name"
|
android:text="陈维"
|
android:textSize="@dimen/text_size_16"
|
android:textColor="@color/black_msg"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content" />
|
|
<TextView
|
android:text="主任医师"
|
android:id="@+id/tv_mine_title"
|
android:layout_marginLeft="4dp"
|
android:textSize="@dimen/text_size_12"
|
android:textColor="@color/color_gary30"
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="wrap_content" />
|
|
|
</LinearLayout>
|
|
<TextView
|
android:background="@drawable/shape_button_gray_dark_6"
|
android:text="添加备注"
|
android:paddingTop="@dimen/margin_common_half"
|
android:paddingBottom="@dimen/margin_common_half"
|
android:paddingLeft="@dimen/margin_common"
|
android:paddingRight="@dimen/margin_common"
|
android:textSize="@dimen/text_size_15"
|
android:textColor="@color/colorGreen"
|
android:id="@+id/tv_add_remark"
|
android:layout_marginTop="10dp"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content">
|
|
</TextView>
|
<FrameLayout
|
android:layout_marginTop="10dp"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
<LinearLayout
|
android:id="@+id/ll_add_layout"
|
android:orientation="horizontal"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
<FrameLayout
|
android:layout_weight="1"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content">
|
<LinearLayout
|
android:id="@+id/ll_pre_voice_layout"
|
android:layout_gravity="center_vertical"
|
android:background="@drawable/shape_button_gray_dark_6"
|
android:orientation="horizontal"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
|
<TextView
|
android:id="@+id/tv_mine_content"
|
android:layout_marginTop="@dimen/margin_common_half"
|
android:layout_marginBottom="@dimen/margin_common_half"
|
android:textSize="@dimen/text_size_12"
|
android:layout_marginLeft="@dimen/margin_common"
|
android:layout_marginRight="10dp"
|
android:text="28''"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content" />
|
|
<ImageView
|
android:layout_gravity="center"
|
android:id="@+id/preSaveImageView"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="5dp"
|
android:background="@drawable/audio_animation_left_list" />
|
|
</LinearLayout>
|
<EditText
|
|
android:paddingLeft="5dp"
|
android:visibility="gone"
|
android:id="@+id/ed_add_mark_text"
|
android:layout_width="match_parent"
|
android:layout_height="32dp"
|
android:background="@drawable/shape_button_gray"
|
android:textColor="@color/text_common"
|
android:textSize="@dimen/text_size_15"
|
/>
|
|
<TextView
|
|
android:id="@+id/tv_add_mark_text"
|
android:layout_width="match_parent"
|
android:layout_height="32dp"
|
android:background="@drawable/shape_button_gray"
|
android:textColor="@color/text_common"
|
android:textSize="@dimen/text_size_15" />
|
</FrameLayout>
|
<FrameLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content">
|
<ImageView
|
android:id="@+id/iv_record"
|
android:layout_marginLeft="@dimen/margin_common"
|
android:src="@mipmap/record_voice"
|
android:layout_width="32dp"
|
android:layout_height="32dp"
|
/>
|
<TextView
|
android:visibility="gone"
|
android:layout_marginLeft="@dimen/margin_common"
|
android:paddingTop="@dimen/margin_common_half"
|
android:paddingBottom="@dimen/margin_common_half"
|
android:paddingRight="@dimen/margin_common"
|
android:paddingLeft="@dimen/margin_common"
|
android:id="@+id/tv_save"
|
android:text="确认"
|
android:textSize="@dimen/text_size_12"
|
android:background="@drawable/shape_green_6"
|
android:textColor="@color/white"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"/>
|
</FrameLayout>
|
|
</LinearLayout>
|
|
<Button
|
android:id="@+id/tv_record_voice"
|
android:visibility="gone"
|
android:paddingTop="5dp"
|
android:paddingBottom="5dp"
|
android:background="@drawable/shape_button_gray_dark_black"
|
android:text="按住说话"
|
android:gravity="center"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"/>
|
</FrameLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
<LinearLayout
|
android:id="@+id/ll_comment_layout"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="@dimen/margin_common"
|
android:background="@color/white"
|
android:layout_marginBottom="@dimen/margin_common_half"
|
android:orientation="horizontal">
|
|
<cn.wildfire.chat.kit.widget.RoundImageView
|
android:id="@+id/iv_comment_icon"
|
android:layout_marginLeft="@dimen/margin_common"
|
android:layout_marginRight="12dp"
|
app:roundSize="10dp"
|
android:layout_width="50dp"
|
android:layout_height="50dp" />
|
|
<LinearLayout
|
android:orientation="vertical"
|
android:layout_weight="1"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content">
|
|
<LinearLayout
|
|
android:orientation="horizontal"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
|
<TextView
|
android:id="@+id/tv_name"
|
android:text="陈维"
|
android:textSize="@dimen/text_size_16"
|
android:textColor="@color/black_msg"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content" />
|
|
<TextView
|
android:text="主任医师"
|
android:id="@+id/tv_title"
|
android:layout_marginLeft="4dp"
|
android:textSize="@dimen/text_size_12"
|
android:textColor="@color/color_gary30"
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="wrap_content" />
|
|
<TextView
|
android:text="2020.0.0"
|
android:id="@+id/tv_time"
|
android:textSize="@dimen/text_size_15"
|
android:textColor="@color/color_gary30"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content" />
|
|
</LinearLayout>
|
|
<LinearLayout
|
android:id="@+id/ll_voice_layout"
|
android:layout_marginTop="10dp"
|
android:background="@drawable/shape_button_gray_dark_6"
|
android:orientation="horizontal"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
|
<TextView
|
android:layout_gravity="center_vertical"
|
android:id="@+id/tv_comment_content"
|
android:layout_marginTop="5dp"
|
android:layout_marginBottom="5dp"
|
android:textSize="@dimen/text_size_12"
|
android:layout_marginLeft="@dimen/margin_common"
|
android:layout_marginRight="10dp"
|
android:text="28''"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content" />
|
|
<ImageView
|
android:layout_marginTop="@dimen/margin_common_half"
|
android:layout_marginBottom="@dimen/margin_common_half"
|
android:layout_gravity="center"
|
android:id="@+id/audioImageView"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="5dp"
|
android:background="@drawable/audio_animation_left_list" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|