<?xml version="1.0" encoding="utf-8"?>
|
<ScrollView
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
android:orientation="vertical"
|
android:layout_width="match_parent"
|
android:scrollbars="vertical"
|
android:layout_height="match_parent"
|
tools:context=".conversation.patient.PatientInfoActivity">
|
|
<LinearLayout
|
android:orientation="vertical"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
|
<include layout="@layout/toolbar" />
|
|
<LinearLayout
|
android:layout_marginLeft="@dimen/magin_common"
|
android:layout_marginRight="@dimen/magin_common"
|
android:orientation="vertical"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
|
|
<androidx.cardview.widget.CardView
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
app:cardCornerRadius="@dimen/article_card_radius"
|
app:cardUseCompatPadding="true"
|
app:cardElevation="2dp"
|
android:layout_marginTop="@dimen/margin_common">
|
|
<LinearLayout
|
android:orientation="vertical"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
|
<LinearLayout
|
android:orientation="horizontal"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
|
<TextView
|
android:padding="@dimen/margin_common"
|
android:textSize="@dimen/text_size_15"
|
android:textColor="@color/black_title"
|
android:text="基本信息"
|
android:layout_weight="1"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content" />
|
|
<ImageView
|
android:layout_marginRight="@dimen/margin_common"
|
android:layout_gravity="center"
|
android:src="@mipmap/ic_right_arrow"
|
android:layout_width="12dp"
|
android:layout_height="12dp" />
|
</LinearLayout>
|
|
<TextView style="@style/Line" />
|
|
<LinearLayout
|
android:orientation="horizontal"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
|
<cn.wildfire.chat.kit.widget.RoundImageView
|
android:layout_marginTop="@dimen/margin_common"
|
android:layout_marginRight="@dimen/margin_common_half"
|
android:layout_marginLeft="@dimen/margin_common"
|
android:layout_marginBottom="@dimen/margin_common"
|
android:id="@+id/iv_icon"
|
app:roundSize="8dp"
|
android:layout_width="70dp"
|
android:layout_height="70dp" />
|
|
<LinearLayout
|
android:layout_marginTop="@dimen/margin_common_half"
|
android:orientation="vertical"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
|
<LinearLayout
|
android:orientation="horizontal"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
|
<TextView
|
android:text="患者:"
|
android:textSize="@dimen/text_size_15"
|
android:textColor="@color/black_title"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content" />
|
|
<TextView
|
android:id="@+id/tv_name"
|
android:text="张翠山"
|
android:textSize="@dimen/text_size_15"
|
android:textColor="@color/black_title"
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="wrap_content" />
|
|
<TextView
|
android:layout_marginLeft="@dimen/margin_common_half"
|
android:text="性别:"
|
android:textSize="@dimen/text_size_13"
|
android:textColor="@color/black_title"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content" />
|
|
<TextView
|
android:layout_marginLeft="4dp"
|
android:id="@+id/tv_gender"
|
android:text="男"
|
android:textSize="@dimen/text_size_13"
|
android:textColor="@color/black_title"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content" />
|
|
<TextView
|
android:layout_marginLeft="@dimen/margin_common_half"
|
android:text="年龄"
|
android:textSize="@dimen/text_size_13"
|
android:textColor="@color/black_title"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content" />
|
|
<TextView
|
android:layout_marginLeft="4dp"
|
android:layout_marginRight="@dimen/magin_common"
|
android:id="@+id/tv_age"
|
android:text="52"
|
android:textSize="@dimen/text_size_13"
|
android:textColor="@color/black_title"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content" />
|
</LinearLayout>
|
|
<cn.wildfire.chat.kit.conversation.patient.view.FlowLayout
|
android:layout_marginTop="@dimen/margin_common_half"
|
android:id="@+id/ll_tag_layout"
|
android:orientation="horizontal"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
|
</cn.wildfire.chat.kit.conversation.patient.view.FlowLayout>
|
|
<LinearLayout
|
android:layout_marginTop="@dimen/margin_common_half"
|
|
android:orientation="horizontal"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
|
<TextView
|
android:text="标签仅医生自己可见"
|
android:textSize="@dimen/text_size_13"
|
|
android:textColor="@color/color_gary30"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content" />
|
|
</LinearLayout>
|
</LinearLayout>
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
</androidx.cardview.widget.CardView>
|
|
<androidx.cardview.widget.CardView
|
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
app:cardCornerRadius="@dimen/article_card_radius"
|
app:cardUseCompatPadding="true"
|
app:cardElevation="2dp"
|
android:layout_marginTop="@dimen/margin_common">
|
|
<LinearLayout
|
android:padding="@dimen/margin_common"
|
android:orientation="vertical"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
|
<LinearLayout
|
android:orientation="horizontal"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
|
<ImageView
|
android:layout_gravity="center"
|
android:src="@mipmap/ic_see_record"
|
android:layout_width="25dp"
|
android:layout_height="25dp" />
|
|
<TextView
|
android:padding="@dimen/margin_common"
|
android:textSize="@dimen/text_size_15"
|
android:textColor="@color/black_title"
|
android:text="就诊记录"
|
android:layout_weight="1"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content" />
|
|
<ImageView
|
android:layout_gravity="center"
|
android:src="@mipmap/ic_right_arrow"
|
android:layout_width="12dp"
|
android:layout_height="12dp" />
|
</LinearLayout>
|
|
<TextView style="@style/Line" />
|
|
<LinearLayout
|
android:orientation="vertical"
|
android:id="@+id/ll_top_record_layout"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
</LinearLayout>
|
|
<cn.wildfire.chat.kit.widget.UMExpandLayout
|
android:id="@+id/ul_expand_layout"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
<LinearLayout
|
android:id="@+id/ll_expand_layout"
|
android:orientation="vertical"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
|
</LinearLayout>
|
</cn.wildfire.chat.kit.widget.UMExpandLayout>
|
|
<TextView style="@style/Line" />
|
|
<LinearLayout
|
android:id="@+id/ll_arrow_layout"
|
android:layout_marginTop="@dimen/margin_common_half"
|
android:layout_gravity="center"
|
android:gravity="center"
|
android:padding="@dimen/margin_common_half"
|
android:orientation="horizontal"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
|
<ImageView
|
android:id="@+id/iv_arrow"
|
|
android:src="@mipmap/ic_down_arrow"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content" />
|
</LinearLayout>
|
|
|
</LinearLayout>
|
|
</androidx.cardview.widget.CardView>
|
|
|
<androidx.cardview.widget.CardView
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
app:cardCornerRadius="@dimen/article_card_radius"
|
app:cardUseCompatPadding="true"
|
app:cardElevation="2dp"
|
android:layout_marginTop="@dimen/margin_common">
|
|
<LinearLayout
|
android:padding="@dimen/margin_common"
|
android:orientation="vertical"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
|
<LinearLayout
|
android:orientation="horizontal"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
|
<ImageView
|
android:layout_gravity="center"
|
android:src="@mipmap/ic_scale"
|
android:layout_width="25dp"
|
android:layout_height="25dp" />
|
|
<TextView
|
android:padding="@dimen/margin_common"
|
android:textSize="@dimen/text_size_15"
|
android:textColor="@color/black_title"
|
android:text="随访量表"
|
android:layout_weight="1"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content" />
|
|
<ImageView
|
android:layout_gravity="center"
|
android:src="@mipmap/ic_right_arrow"
|
android:layout_width="12dp"
|
android:layout_height="12dp" />
|
</LinearLayout>
|
|
<TextView style="@style/Line" />
|
|
<cn.wildfire.chat.kit.conversation.CornerTabLayout
|
android:layout_marginTop="@dimen/margin_common"
|
android:layout_marginLeft="40dp"
|
android:layout_marginRight="40dp"
|
android:layout_marginBottom="@dimen/text_size_10"
|
app:text_normal_color="#000000"
|
app:text_selected_color="#ffffff"
|
android:id="@+id/scale_tabs"
|
app:text_size="@dimen/text_size_10"
|
android:background="@drawable/tab_background"
|
android:layout_width="260dp"
|
android:layout_height="32dp" />
|
|
|
<androidx.viewpager.widget.ViewPager
|
android:id="@+id/vp_scale"
|
android:layout_width="match_parent"
|
android:layout_height="180dp" />
|
|
</LinearLayout>
|
|
</androidx.cardview.widget.CardView>
|
|
|
<androidx.cardview.widget.CardView
|
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
app:cardCornerRadius="@dimen/article_card_radius"
|
app:cardUseCompatPadding="true"
|
app:cardElevation="2dp"
|
android:layout_marginTop="@dimen/margin_common">
|
|
<LinearLayout
|
android:padding="@dimen/margin_common"
|
android:orientation="vertical"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
|
<LinearLayout
|
android:orientation="horizontal"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
|
<ImageView
|
android:layout_gravity="center"
|
android:src="@mipmap/icon_doctor_mark"
|
android:layout_width="25dp"
|
android:layout_height="25dp" />
|
|
<TextView
|
android:padding="@dimen/margin_common"
|
android:textSize="@dimen/text_size_15"
|
android:textColor="@color/black_title"
|
android:text="医生备注"
|
android:layout_weight="1"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content" />
|
|
<ImageView
|
android:layout_gravity="center"
|
android:src="@mipmap/ic_right_arrow"
|
android:layout_width="12dp"
|
android:layout_height="12dp" />
|
</LinearLayout>
|
|
<TextView style="@style/Line" />
|
|
<LinearLayout
|
android:id="@+id/ll_comment_layout"
|
android:orientation="vertical"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
|
</LinearLayout>
|
|
<TextView
|
android:visibility="gone"
|
android:id="@+id/tv_doMark"
|
android:layout_marginTop="28dp"
|
android:textSize="@dimen/text_size_15"
|
android:textColor="@color/colorGreen"
|
android:gravity="end"
|
android:text="添加备注"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content" />
|
</LinearLayout>
|
|
</androidx.cardview.widget.CardView>
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</ScrollView>
|