hh_certificate_layout.xml 2.49 KB
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/hh_certificate_bg">

    <ImageView
        android:id="@+id/hh_doctor_certificate"
        android:layout_width="match_parent"
        android:layout_height="match_parent" />


    <RelativeLayout
        android:id="@+id/hh_loading_state_layout"
        android:layout_width="match_parent"
        android:layout_height="match_parent">


        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_centerInParent="true"
            android:gravity="center_horizontal"
            android:orientation="vertical">


            <ImageView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:contentDescription="@string/hh_sdk_image_name"
                 />


            <LinearLayout
                android:id="@+id/hh_text_state_layout"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginTop="16dp"
                android:gravity="center_vertical">


                <TextView
                    android:id="@+id/hh_state_text"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center_vertical"
                    android:textColor="@android:color/white"
                    android:textSize="14.0sp" />


                <com.hhmedic.android.sdk.uikit.widget.HHLoadingView
                    android:id="@+id/hh_loading"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginStart="10dp" />


            </LinearLayout>


        </LinearLayout>

    </RelativeLayout>


    <ImageView
        android:id="@+id/hh_certificate_close"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentEnd="true"
        android:contentDescription="@string/hh_sdk_image_name"
        android:paddingStart="16dp"
        android:paddingTop="28dp"
        android:paddingEnd="20dp"
        android:paddingBottom="16dp"
        android:src="@drawable/hh_close_icon_white" />


</RelativeLayout>