<?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"
|
xmlns:tools="http://schemas.android.com/tools"
|
android:layout_width="match_parent"
|
android:orientation="vertical"
|
android:layout_height="match_parent"
|
tools:context=".patient.ui.certificate.ApproveDetailActivity">
|
|
<include layout="@layout/toolbar" />
|
<ScrollView
|
android:scrollIndicators="none"
|
android:layout_width="match_parent"
|
android:layout_weight="1"
|
android:layout_height="0dp">
|
|
|
<LinearLayout
|
android:orientation="vertical"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
|
|
<TextView
|
android:visibility="gone"
|
android:id="@+id/tv_licensed_info"
|
android:layout_marginTop="@dimen/margin_common"
|
android:textSize="@dimen/text_size_15"
|
android:textColor="@color/black_title"
|
android:layout_gravity="center"
|
android:text="@string/certificate_licensed_info"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"/>
|
|
<TextView
|
android:visibility="gone"
|
android:id="@+id/tv_title_head"
|
android:layout_marginTop="@dimen/margin_common"
|
android:textSize="@dimen/text_size_15"
|
android:textColor="@color/black_title"
|
android:layout_gravity="center"
|
android:text="@string/certificate_title_head"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"/>
|
|
<TextView
|
android:visibility="gone"
|
android:id="@+id/tv_title_info"
|
android:layout_marginTop="@dimen/margin_common"
|
android:textSize= "@dimen/text_size_15"
|
android:layout_marginLeft="@dimen/margin_common"
|
android:layout_marginRight="@dimen/margin_common"
|
android:textColor="#FF9393AA"
|
android:layout_gravity="center"
|
android:text="@string/certificate_title_info"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"/>
|
|
<androidx.cardview.widget.CardView
|
android:id="@+id/cv_idCard_face"
|
android:visibility="gone"
|
android:layout_marginTop="@dimen/margin_common"
|
android:foreground="?android:attr/selectableItemBackground"
|
app:cardCornerRadius="@dimen/article_card_radius"
|
app:cardUseCompatPadding="true"
|
app:cardElevation="5dp"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
<LinearLayout
|
android:layout_marginTop="@dimen/margin_common"
|
android:orientation="vertical"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
<FrameLayout
|
android:layout_gravity="center"
|
android:gravity="center"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
<ImageView
|
|
android:background="@mipmap/ic_id_card_face"
|
android:layout_gravity="center"
|
android:id="@+id/iv_first"
|
android:layout_width="168dp"
|
android:layout_height="105dp" />
|
</FrameLayout>
|
|
<TextView
|
android:id="@+id/tv_head_info"
|
android:layout_marginTop="8dp"
|
android:layout_marginBottom="27dp"
|
android:drawablePadding="3dp"
|
android:drawableStart="@mipmap/attention_gary"
|
android:gravity="center"
|
android:layout_gravity="center"
|
android:textColor="#FF9393AA"
|
android:textSize="@dimen/text_size_12"
|
android:text="@string/certificate_idCard_head_content"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"/>
|
</LinearLayout>
|
</androidx.cardview.widget.CardView>
|
|
|
<androidx.cardview.widget.CardView
|
android:id="@+id/cv_idCard_back"
|
android:visibility="gone"
|
android:layout_marginTop="@dimen/margin_common"
|
android:foreground="?android:attr/selectableItemBackground"
|
app:cardCornerRadius="@dimen/article_card_radius"
|
app:cardUseCompatPadding="true"
|
app:cardElevation="5dp"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
<LinearLayout
|
android:layout_marginTop="@dimen/margin_common"
|
android:orientation="vertical"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
<FrameLayout
|
android:layout_gravity="center"
|
android:gravity="center"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
<ImageView
|
android:background="@mipmap/ic_id_card_num"
|
android:layout_gravity="center"
|
android:id="@+id/iv_second"
|
android:layout_width="168dp"
|
android:layout_height="105dp" />
|
</FrameLayout>
|
|
<TextView
|
android:id="@+id/tv_sub_info"
|
android:layout_marginTop="8dp"
|
android:layout_marginBottom="27dp"
|
android:drawablePadding="3dp"
|
android:drawableStart="@mipmap/attention_gary"
|
android:gravity="center"
|
android:layout_gravity="center"
|
android:textColor="#FF9393AA"
|
android:textSize="@dimen/text_size_12"
|
android:text="@string/id_card_back_content"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"/>
|
</LinearLayout>
|
</androidx.cardview.widget.CardView>
|
|
|
<androidx.cardview.widget.CardView
|
android:visibility="gone"
|
android:id="@+id/cv_common_layout"
|
android:layout_marginTop="@dimen/margin_common"
|
android:foreground="?android:attr/selectableItemBackground"
|
app:cardCornerRadius="@dimen/article_card_radius"
|
app:cardUseCompatPadding="true"
|
app:cardElevation="5dp"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
<LinearLayout
|
android:layout_marginTop="@dimen/margin_common"
|
android:orientation="vertical"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
<FrameLayout
|
android:layout_marginTop="30dp"
|
android:layout_gravity="center"
|
android:gravity="center"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
<ImageView
|
android:background="@mipmap/ic_certificate"
|
android:layout_gravity="center"
|
android:id="@+id/iv_cer_1"
|
android:layout_width="165dp"
|
android:layout_height="103dp" />
|
</FrameLayout>
|
|
<TextView
|
android:layout_marginTop="8dp"
|
android:layout_marginBottom="27dp"
|
android:drawablePadding="3dp"
|
android:drawableStart="@mipmap/attention_gary"
|
android:gravity="center"
|
android:layout_gravity="center"
|
android:textColor="#FF9393AA"
|
android:textSize="@dimen/text_size_12"
|
android:text="@string/certificate_pic_common"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"/>
|
|
|
<LinearLayout
|
android:orientation="horizontal"
|
android:layout_marginRight="@dimen/margin_common"
|
android:layout_marginLeft="@dimen/margin_common"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
<ImageView
|
android:layout_marginLeft="5dp"
|
android:layout_marginRight="5dp"
|
android:id="@+id/iv_cer_2"
|
android:background="@mipmap/ic_certificate"
|
android:layout_weight="1"
|
android:layout_width="0dp"
|
android:layout_height="60dp"/>
|
<ImageView
|
android:layout_marginLeft="5dp"
|
android:layout_marginRight="5dp"
|
android:id="@+id/iv_cer_3"
|
android:background="@mipmap/ic_certificate"
|
android:layout_weight="1"
|
android:layout_width="0dp"
|
android:layout_height="60dp"/>
|
<ImageView
|
android:layout_marginLeft="5dp"
|
android:layout_marginRight="5dp"
|
android:id="@+id/iv_cer_4"
|
android:background="@mipmap/ic_certificate"
|
android:layout_weight="1"
|
android:layout_width="0dp"
|
android:layout_height="60dp"/>
|
</LinearLayout>
|
<TextView
|
android:layout_marginTop="8dp"
|
android:layout_marginBottom="27dp"
|
android:drawablePadding="3dp"
|
android:drawableStart="@mipmap/attention_gary"
|
android:gravity="center"
|
android:layout_gravity="center"
|
android:textColor="#FF9393AA"
|
android:textSize="@dimen/text_size_12"
|
android:text="@string/certificate_pic_content"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"/>
|
</LinearLayout>
|
</androidx.cardview.widget.CardView>
|
|
|
<androidx.cardview.widget.CardView
|
android:layout_marginTop="@dimen/margin_common"
|
android:foreground="?android:attr/selectableItemBackground"
|
app:cardCornerRadius="@dimen/article_card_radius"
|
app:cardUseCompatPadding="true"
|
app:cardElevation="5dp"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
<LinearLayout
|
android:id="@+id/ll_idCard_headInfo"
|
android:orientation="vertical"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
|
</LinearLayout>
|
</androidx.cardview.widget.CardView>
|
|
</LinearLayout>
|
</ScrollView>
|
<Button
|
android:id="@+id/btn_next"
|
android:layout_marginRight="24dp"
|
android:layout_marginLeft="24dp"
|
android:layout_marginTop="20dp"
|
android:layout_marginBottom="@dimen/margin_common"
|
android:textSize="@dimen/text_size_16"
|
android:textColor="@color/white"
|
android:background="@drawable/shape_button_green"
|
android:text="@string/certificate_btn_next"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
/>
|
</LinearLayout>
|