<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:binding="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    tools:ignore="RtlHardcoded">

    <data>

        <variable
            name="click"
            type="com.hongyegroup.cpt_pensonal.ui.fragment.PensonalMyAppointmentFragment.ClickProxy" />

    </data>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical">

        <FrameLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content">

            <ImageView
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:scaleType="centerCrop"
                android:src="@drawable/pensonal_appointment_top_img" />

            <FrameLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginTop="@dimen/d_32dp">

                <com.guadou.lib_baselib.font_text_view.TextViewSBold
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center_horizontal"
                    android:text="COVID-19 Test"
                    android:textColor="@color/white"
                    android:textSize="@dimen/d_18sp" />

                <com.guadou.lib_baselib.font_text_view.TextViewRegular
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="right"
                    android:layout_marginRight="@dimen/d_16dp"
                    android:drawableRight="@drawable/pensonal_appointment_help_title_icon"
                    android:drawablePadding="@dimen/d_6dp"
                    android:gravity="center_vertical"
                    android:text="FAQ"
                    android:textColor="@color/white"
                    android:textSize="@dimen/d_15sp" />

            </FrameLayout>

        </FrameLayout>


        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="@dimen/d_75dp"
            android:layout_marginLeft="@dimen/d_12dp"
            android:layout_marginTop="@dimen/d_5dp"
            android:layout_marginRight="@dimen/d_12dp"
            android:background="@drawable/shadow_round_blue_bg3"
            android:gravity="center_vertical"
            android:orientation="horizontal"
            android:paddingBottom="7dp"
            binding:clicks="@{click.gotoMakeAppointmentPage}">

            <ImageView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginLeft="@dimen/d_22dp"
                android:src="@drawable/pensonal_appointment_make_appointment" />

            <com.guadou.lib_baselib.font_text_view.TextViewRegular
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_marginLeft="@dimen/d_14dp"
                android:layout_weight="1"
                android:text="Make Appointment"
                android:textColor="#FF3E4A5D"
                android:textSize="@dimen/d_17sp" />

            <ImageView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginRight="@dimen/d_24dp"
                android:src="@drawable/more_black" />

        </LinearLayout>

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="@dimen/d_75dp"
            android:layout_marginLeft="@dimen/d_12dp"
            android:layout_marginRight="@dimen/d_12dp"
            android:background="@drawable/shadow_round_blue_bg3"
            android:gravity="center_vertical"
            android:orientation="horizontal"
            android:paddingBottom="7dp"
            binding:clicks="@{click.gotoMyTestsPage}">

            <ImageView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginLeft="@dimen/d_22dp"
                android:src="@drawable/pensonal_appointment_my_tests" />

            <com.guadou.lib_baselib.font_text_view.TextViewRegular
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_marginLeft="@dimen/d_14dp"
                android:layout_weight="1"
                android:text="View My Tests"
                android:textColor="#FF3E4A5D"
                android:textSize="@dimen/d_17sp" />

            <ImageView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginRight="@dimen/d_24dp"
                android:src="@drawable/more_black" />

        </LinearLayout>

    </LinearLayout>

</layout>

