<?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:orientation="vertical"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
tools:context=".patient.ui.certificate.CertificateActivity">
|
|
<TextView
|
android:background="@mipmap/cer_bg"
|
android:layout_width="match_parent"
|
android:layout_height="280dp"/>
|
<LinearLayout
|
android:orientation="vertical"
|
android:layout_marginLeft="13dp"
|
android:layout_marginRight="13dp"
|
android:layout_marginTop="30dp"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
|
<TextView
|
android:text="@string/certificate_title_content"
|
android:textSize="@dimen/certificate_size"
|
android:textColor="@color/black_certificate"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"/>
|
|
<LinearLayout
|
|
android:orientation="horizontal"
|
android:background="@drawable/shape_cer_idcard"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
<LinearLayout
|
android:layout_marginTop="15dp"
|
android:layout_marginLeft="15dp"
|
android:layout_weight="1"
|
android:orientation="vertical"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
tools:ignore="Suspicious0dp"
|
>
|
|
<TextView
|
android:layout_marginBottom="5dp"
|
android:text="@string/certificate_idCard"
|
android:textColor="@color/black_certificate2"
|
android:textSize="@dimen/text_size_16"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content" />
|
<TextView
|
android:layout_marginBottom="15dp"
|
android:text="@string/certificate_idCard_desc"
|
android:textColor="#FF808080"
|
android:textSize="@dimen/text_size_12"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content" />
|
|
</LinearLayout>
|
<ImageView
|
android:src="@mipmap/id_card_bg"
|
android:layout_width="100dp"
|
android:layout_height="90dp"/>
|
</LinearLayout>
|
|
|
<LinearLayout
|
android:layout_marginTop="8dp"
|
android:orientation="horizontal"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
|
<FrameLayout
|
android:layout_marginRight="4dp"
|
android:layout_weight="1"
|
android:orientation="horizontal"
|
android:background="@drawable/shape_cer_licensed"
|
android:layout_width="0dp"
|
android:layout_height="match_parent">
|
<ImageView
|
android:layout_gravity="end|bottom"
|
android:src="@mipmap/cer_licensed"
|
android:layout_width="100dp"
|
android:layout_height="90dp"/>
|
<LinearLayout
|
android:layout_marginTop="15dp"
|
android:layout_marginLeft="15dp"
|
android:layout_weight="1"
|
android:orientation="vertical"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
tools:ignore="Suspicious0dp"
|
>
|
|
<TextView
|
android:layout_marginBottom="5dp"
|
android:text="@string/certificate_licensed"
|
android:textColor="@color/black_certificate2"
|
android:textSize="@dimen/text_size_16"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content" />
|
<TextView
|
android:layout_marginBottom="15dp"
|
android:text="@string/certificate_licensed_desc"
|
android:textColor="#FF808080"
|
android:textSize="@dimen/text_size_12"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content" />
|
|
</LinearLayout>
|
|
</FrameLayout>
|
<FrameLayout
|
android:layout_marginLeft="4dp"
|
android:layout_weight="1"
|
android:orientation="horizontal"
|
android:background="@drawable/shape_cer_title"
|
android:layout_width="0dp"
|
android:layout_height="120dp">
|
<ImageView
|
android:layout_gravity="end|bottom"
|
android:src="@mipmap/cer_title"
|
android:layout_width="100dp"
|
android:layout_height="90dp"/>
|
<LinearLayout
|
android:layout_marginTop="15dp"
|
android:layout_marginLeft="15dp"
|
android:layout_weight="1"
|
android:orientation="vertical"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
tools:ignore="Suspicious0dp"
|
>
|
|
<TextView
|
android:layout_marginBottom="5dp"
|
android:text="@string/certificate_title"
|
android:textColor="@color/black_certificate2"
|
android:textSize="@dimen/text_size_16"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content" />
|
<TextView
|
android:layout_marginBottom="15dp"
|
android:text="@string/certificate_title_desc"
|
android:textColor="#FF808080"
|
android:textSize="@dimen/text_size_12"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content" />
|
|
</LinearLayout>
|
|
</FrameLayout>
|
</LinearLayout>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_marginLeft="24dp"
|
android:layout_marginRight="24dp"
|
android:orientation="vertical"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
<Button
|
android:layout_marginTop="30dp"
|
|
android:textSize="@dimen/text_size_16"
|
android:textColor="@color/white"
|
android:background="@drawable/shape_button_green"
|
android:id="@+id/btn_do_cer"
|
android:text="@string/certificate_btn_do_certificate"
|
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:layout_weight="1"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"/>
|
<TextView
|
android:id="@+id/btn_cancel"
|
android:textSize="@dimen/text_size_16"
|
android:layout_marginRight="16dp"
|
android:layout_marginTop="20dp"
|
android:layout_alignParentBottom="true"
|
android:layout_alignParentEnd="true"
|
android:textColor="@color/colorGreen"
|
android:text="@string/certificate_btn_cancel"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"/>
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|