<?xml version="1.0" encoding="utf-8"?>
|
<LinearLayout 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:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:orientation="vertical"
|
tools:context=".patient.ui.article.CheckRecordActivity">
|
|
<include layout="@layout/toolbar" />
|
|
<TextView
|
android:text="主动脉狭窄慎用什么药?"
|
android:layout_marginLeft="21dp"
|
android:layout_marginTop="16dp"
|
android:layout_marginBottom="16dp"
|
android:textColor="#FF363F4D"
|
android:textSize="17sp"
|
android:id="@+id/tv_content_title"
|
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:paddingTop="16dp">
|
|
<LinearLayout
|
android:orientation="horizontal"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
|
<cn.wildfire.chat.kit.widget.CircleImageView
|
android:id="@+id/iv_header"
|
android:src="@mipmap/avatar_def"
|
android:layout_marginLeft="5dp"
|
android:layout_marginTop="16dp"
|
android:layout_marginBottom="16dp"
|
android:layout_width="49dp"
|
android:layout_height="49dp"></cn.wildfire.chat.kit.widget.CircleImageView>
|
|
<LinearLayout
|
android:orientation="vertical"
|
android:layout_weight="1"
|
android:layout_marginLeft="7dp"
|
android:layout_width="0dp"
|
android:layout_height="match_parent">
|
|
<TextView
|
android:singleLine="true"
|
android:ellipsize="end"
|
android:id="@+id/tv_name"
|
android:textSize="13sp"
|
android:text="陈维"
|
android:textColor="@color/mine_text_color"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content" />
|
|
<TextView
|
android:singleLine="true"
|
android:ellipsize="end"
|
android:id="@+id/tv_title"
|
android:textSize="13sp"
|
android:layout_marginTop="8dp"
|
android:text="主任医师"
|
android:textColor="@color/mine_text_color"
|
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:id="@+id/tv_position"
|
android:singleLine="true"
|
android:ellipsize="end"
|
android:textSize="13sp"
|
android:layout_marginTop="8dp"
|
android:text="上海第十人民医院心内科"
|
android:textColor="@color/mine_text_color"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content" />
|
|
<TextView
|
android:layout_marginLeft="7dp"
|
android:id="@+id/tv_depart"
|
android:singleLine="true"
|
android:ellipsize="end"
|
android:textSize="13sp"
|
android:layout_marginTop="8dp"
|
android:text="上海第十人民医院心内科"
|
android:textColor="@color/mine_text_color"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content" />
|
</LinearLayout>
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</androidx.cardview.widget.CardView>
|
|
<LinearLayout
|
android:layout_marginLeft="@dimen/margin_common"
|
android:layout_marginRight="@dimen/margin_common"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
<include layout="@layout/voice_player" />
|
</LinearLayout>
|
|
|
<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:paddingTop="16dp">
|
|
<LinearLayout
|
android:orientation="vertical"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
|
<TextView
|
android:text="文字内容"
|
android:textColor="#FF363F4D"
|
android:padding="16dp"
|
android:textSize="@dimen/text_size_15"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content" />
|
|
<ScrollView
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
|
<TextView
|
android:id="@+id/tv_content"
|
android:minHeight="80dp"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content" />
|
</ScrollView>
|
</LinearLayout>
|
|
</androidx.cardview.widget.CardView>
|
|
<LinearLayout
|
android:layout_marginLeft="24dp"
|
android:layout_marginRight="24dp"
|
android:layout_marginTop="65dp"
|
android:orientation="horizontal"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
|
<Button
|
android:id="@+id/btn_return"
|
android:textSize="@dimen/text_size_15"
|
android:textColor="#FF9393AA"
|
android:text="返回重录"
|
android:background="@drawable/shape_button_gray"
|
android:layout_marginRight="10dp"
|
android:layout_weight="1"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"></Button>
|
|
<Button
|
android:id="@+id/btn_audit"
|
android:textSize="@dimen/text_size_15"
|
android:textColor="@color/white"
|
android:text="提交审核"
|
android:background="@drawable/shape_button_green"
|
android:layout_marginRight="10dp"
|
android:layout_weight="1"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"></Button>
|
</LinearLayout>
|
|
</LinearLayout>
|