|
|
|
@ -10,103 +10,223 @@
|
|
|
|
|
<include layout="@layout/title_white_bar"
|
|
|
|
|
android:id="@+id/title"/>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/ll_img"
|
|
|
|
|
<androidx.core.widget.NestedScrollView
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_below="@+id/title"
|
|
|
|
|
android:background="@drawable/shape_round_white"
|
|
|
|
|
android:layout_marginTop="@dimen/dp_14"
|
|
|
|
|
android:layout_marginLeft="@dimen/dp_14"
|
|
|
|
|
android:layout_marginRight="@dimen/dp_14"
|
|
|
|
|
android:paddingLeft="@dimen/dp_16"
|
|
|
|
|
android:paddingRight="@dimen/dp_16"
|
|
|
|
|
android:paddingBottom="25dp"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="@dimen/dp_22"
|
|
|
|
|
android:drawableStart="@drawable/shape_head_tip_new"
|
|
|
|
|
android:drawablePadding="@dimen/dp_10"
|
|
|
|
|
android:text="上传图片"
|
|
|
|
|
android:textColor="@color/col_313"
|
|
|
|
|
android:textSize="@dimen/sp_17"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
tools:ignore="UseCompatTextViewDrawableXml" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="重要内容拍照存储(0/5)"
|
|
|
|
|
android:layout_marginTop="@dimen/dp_21"
|
|
|
|
|
android:textColor="@color/col_313"
|
|
|
|
|
android:textSize="@dimen/sp_15"/>
|
|
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:id="@+id/recycler"/>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="示例图"
|
|
|
|
|
android:textSize="@dimen/sp_15"
|
|
|
|
|
android:textColor="@color/col_c7c"
|
|
|
|
|
android:layout_marginTop="@dimen/dp_20"/>
|
|
|
|
|
|
|
|
|
|
<com.ruffian.library.widget.RImageView
|
|
|
|
|
android:layout_width="@dimen/dp_70"
|
|
|
|
|
android:layout_height="@dimen/dp_70"
|
|
|
|
|
app:corner_radius="@dimen/dp_5"
|
|
|
|
|
app:is_circle="false"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="@dimen/dp_14"
|
|
|
|
|
android:layout_marginLeft="@dimen/dp_14"
|
|
|
|
|
android:layout_marginRight="@dimen/dp_14"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:layout_below="@+id/ll_img">
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="@dimen/dp_22"
|
|
|
|
|
android:drawableStart="@drawable/shape_head_tip_new"
|
|
|
|
|
android:drawablePadding="@dimen/dp_10"
|
|
|
|
|
android:text="备注"
|
|
|
|
|
android:textColor="@color/col_313"
|
|
|
|
|
android:textSize="@dimen/sp_17"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
tools:ignore="UseCompatTextViewDrawableXml" />
|
|
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
|
android:id="@+id/mZyDesc"
|
|
|
|
|
android:layout_above="@+id/tv_save">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="@drawable/shape_round_gray"
|
|
|
|
|
android:layout_marginTop="22dp"
|
|
|
|
|
android:gravity="top"
|
|
|
|
|
android:minHeight="@dimen/dp_100"
|
|
|
|
|
android:hint="请输入备注"
|
|
|
|
|
android:maxLength="500"
|
|
|
|
|
android:padding="@dimen/dp_10"
|
|
|
|
|
android:text=""
|
|
|
|
|
android:textColor="@color/col_455"
|
|
|
|
|
android:textSize="@dimen/dp_14"
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/ll_img"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_below="@+id/title"
|
|
|
|
|
android:background="@drawable/shape_round_white"
|
|
|
|
|
android:layout_marginTop="@dimen/dp_14"
|
|
|
|
|
android:layout_marginLeft="@dimen/dp_14"
|
|
|
|
|
android:layout_marginRight="@dimen/dp_14"
|
|
|
|
|
android:paddingLeft="@dimen/dp_16"
|
|
|
|
|
android:paddingRight="@dimen/dp_16"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="@dimen/dp_22"
|
|
|
|
|
android:drawableStart="@drawable/shape_head_tip_new"
|
|
|
|
|
android:drawablePadding="@dimen/dp_10"
|
|
|
|
|
android:text="上传图片"
|
|
|
|
|
android:textColor="@color/col_313"
|
|
|
|
|
android:textSize="@dimen/sp_17"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
tools:ignore="UseCompatTextViewDrawableXml" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="重要内容拍照存储(0/5)"
|
|
|
|
|
android:layout_marginTop="@dimen/dp_21"
|
|
|
|
|
android:textColor="@color/col_313"
|
|
|
|
|
android:textSize="@dimen/sp_15"/>
|
|
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="@dimen/dp_16"
|
|
|
|
|
android:id="@+id/recycler"/>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="示例图"
|
|
|
|
|
android:textSize="@dimen/sp_15"
|
|
|
|
|
android:textColor="@color/col_c7c"
|
|
|
|
|
android:layout_marginTop="@dimen/dp_20"/>
|
|
|
|
|
|
|
|
|
|
<com.ruffian.library.widget.RImageView
|
|
|
|
|
android:layout_width="@dimen/dp_70"
|
|
|
|
|
android:layout_height="@dimen/dp_70"
|
|
|
|
|
app:corner_radius="@dimen/dp_5"
|
|
|
|
|
android:layout_marginTop="11dp"
|
|
|
|
|
app:is_circle="false"/>
|
|
|
|
|
|
|
|
|
|
<View
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="@dimen/dp_0_5"
|
|
|
|
|
android:background="@color/col_0f2"/>
|
|
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="@dimen/dp_50"
|
|
|
|
|
>
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="报告标题"
|
|
|
|
|
android:textColor="@color/col_313"
|
|
|
|
|
android:textSize="@dimen/sp_15"
|
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:textSize="@dimen/sp_15"
|
|
|
|
|
android:textColor="@color/col_313"
|
|
|
|
|
android:background="@null"
|
|
|
|
|
android:textColorHint="@color/col_6B6"
|
|
|
|
|
android:hint="例:血常规报告"
|
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
|
android:layout_alignParentEnd="true"/>
|
|
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
|
|
<View
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="@dimen/dp_0_5"
|
|
|
|
|
android:background="@color/col_0f2"/>
|
|
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="@dimen/dp_50"
|
|
|
|
|
>
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="报告类型"
|
|
|
|
|
android:textColor="@color/col_313"
|
|
|
|
|
android:textSize="@dimen/sp_15"
|
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:textSize="@dimen/sp_15"
|
|
|
|
|
android:textColor="@color/col_313"
|
|
|
|
|
android:background="@null"
|
|
|
|
|
android:textColorHint="@color/col_6B6"
|
|
|
|
|
android:hint="请选择报告类型"
|
|
|
|
|
android:drawablePadding="@dimen/dp_5"
|
|
|
|
|
android:drawableRight="@mipmap/icon_arrow_right"
|
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
|
android:layout_alignParentEnd="true"/>
|
|
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
|
|
<View
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="@dimen/dp_0_5"
|
|
|
|
|
android:background="@color/col_0f2"/>
|
|
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="@dimen/dp_50"
|
|
|
|
|
>
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="报告时间"
|
|
|
|
|
android:textColor="@color/col_313"
|
|
|
|
|
android:textSize="@dimen/sp_15"
|
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tv_upload_time"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:textSize="@dimen/sp_15"
|
|
|
|
|
android:textColor="@color/col_313"
|
|
|
|
|
android:background="@null"
|
|
|
|
|
android:textColorHint="@color/col_6B6"
|
|
|
|
|
android:hint="请选择报告时间"
|
|
|
|
|
android:drawableRight="@mipmap/icon_arrow_right"
|
|
|
|
|
android:drawablePadding="@dimen/dp_5"
|
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
|
android:layout_alignParentEnd="true"/>
|
|
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="@dimen/dp_14"
|
|
|
|
|
android:layout_marginLeft="@dimen/dp_14"
|
|
|
|
|
android:layout_marginRight="@dimen/dp_14"
|
|
|
|
|
android:layout_marginBottom="@dimen/dp_35"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:background="@drawable/shape_round_white"
|
|
|
|
|
android:layout_below="@+id/ll_img">
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="@dimen/dp_22"
|
|
|
|
|
android:layout_marginLeft="@dimen/dp_16"
|
|
|
|
|
android:drawableStart="@drawable/shape_head_tip_new"
|
|
|
|
|
android:drawablePadding="@dimen/dp_10"
|
|
|
|
|
android:text="备注(可选)"
|
|
|
|
|
android:textColor="@color/col_313"
|
|
|
|
|
android:textSize="@dimen/sp_17"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
tools:ignore="UseCompatTextViewDrawableXml" />
|
|
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
|
android:id="@+id/mZyDesc"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="@drawable/shape_round_gray"
|
|
|
|
|
android:layout_margin="16dp"
|
|
|
|
|
android:layout_marginTop="22dp"
|
|
|
|
|
android:gravity="top"
|
|
|
|
|
android:minHeight="@dimen/dp_100"
|
|
|
|
|
android:hint="请输入本次体检相关问题或医生建议"
|
|
|
|
|
android:maxLength="500"
|
|
|
|
|
android:padding="@dimen/dp_10"
|
|
|
|
|
android:text=""
|
|
|
|
|
android:textColor="@color/col_455"
|
|
|
|
|
android:textSize="@dimen/dp_14"
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tv_save"
|
|
|
|
|