<?xml version="1.0" encoding="utf-8"?>
<FrameLayout
    android:background="@drawable/rounded_bg"
    android:backgroundTint="@color/backgroundColor"
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_margin="@dimen/_8sdp"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    tools:context=".dialog.InquiryFragment">

    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        tools:context=".fragments.ContactFragment">
        <RelativeLayout
            android:id="@+id/toolbar"
            android:layout_width="match_parent"
            android:layout_height="45dp">

            <ImageView
                android:id="@+id/back_btn"
                android:layout_centerVertical="true"
                android:layout_alignParentRight="true"
                android:layout_width="45dp"
                android:layout_height="45dp"
                android:background="@null"
                android:padding="12dp"
                android:src="@drawable/cancel"
                app:tint="@color/black" />

            <TextView
                android:id="@+id/title_tv"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_centerVertical="true"
                android:layout_marginLeft="@dimen/_8sdp"
                android:text="@string/apply_now"
                android:textColor="@color/textColor"
                android:textSize="16dp"
                android:textStyle="bold" />

        </RelativeLayout>

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@id/toolbar"
            android:orientation="vertical"
            android:padding="@dimen/_10sdp">
            <LinearLayout
                android:background="@drawable/rounded_bg"
                android:backgroundTint="@color/editor_controller_bg"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:gravity="center">
                <androidx.cardview.widget.CardView
                    android:layout_margin="@dimen/_8sdp"
                    android:layout_width="@dimen/_120sdp"
                    android:layout_height="@dimen/_80sdp"
                    app:cardCornerRadius="@dimen/_8sdp">
                    <ImageView
                        android:id="@+id/image"
                        android:layout_width="match_parent"
                        android:layout_height="match_parent"
                        android:src="@drawable/btxt1"
                        android:scaleType="centerCrop"/>
                </androidx.cardview.widget.CardView>
                <LinearLayout
                    android:gravity="center_vertical"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:orientation="vertical">
                    <TextView
                        android:id="@+id/title"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_centerVertical="true"
                        android:textStyle="bold"
                        android:textColor="@color/textColor"
                        android:textSize="@dimen/_15sdp" />
                    <LinearLayout
                        android:gravity="center"
                        android:layout_marginTop="@dimen/_8sdp"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:orientation="horizontal">
                        <TextView
                            android:id="@+id/offer_price"
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:layout_centerVertical="true"
                            android:text="100"
                            android:textStyle="bold"
                            android:textColor="@color/app_color"
                            android:textSize="@dimen/_16sdp" />
                        <TextView
                            android:id="@+id/price_tv"
                            android:layout_marginLeft="@dimen/_8sdp"
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:layout_centerVertical="true"
                            android:text="100"
                            android:textColor="@color/textColor"
                            android:textSize="@dimen/_16sdp" />
                    </LinearLayout>

                </LinearLayout>
            </LinearLayout>

            <TextView
                android:layout_marginTop="@dimen/_8sdp"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:text="@string/contact_number"
                android:textColor="@color/textColor"
                android:textSize="@dimen/_14sdp" />
            <RelativeLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content">


                <EditText
                    android:id="@+id/number_et"
                    android:layout_marginTop="@dimen/_5sdp"
                    android:paddingHorizontal="@dimen/_15sdp"
                    android:paddingVertical="@dimen/_13sdp"
                    android:background="@drawable/btn"
                    android:backgroundTint="@color/editor_controller_bg"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:layout_centerVertical="true"
                    android:hint="@string/demo_number"
                    android:inputType="number"
                    android:textColor="@color/textColor"
                    android:textColorHint="@color/hintColor"
                    android:textSize="16dp" />

            </RelativeLayout>

            <TextView
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginTop="8dp"
                android:text="@string/message"
                android:textColor="@color/textColor"
                android:textSize="@dimen/_14sdp" />
            <RelativeLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content">

                <EditText
                    android:id="@+id/message_et"
                    android:layout_marginTop="@dimen/_5sdp"
                    android:paddingHorizontal="@dimen/_15sdp"
                    android:paddingVertical="@dimen/_13sdp"
                    android:background="@drawable/btn"
                    android:backgroundTint="@color/editor_controller_bg"
                    android:layout_width="match_parent"
                    android:gravity="top"
                    android:layout_height="wrap_content"
                    android:minHeight="@dimen/_150sdp"
                    android:layout_centerVertical="true"
                    android:hint="@string/message"
                    android:textColor="@color/textColor"
                    android:textColorHint="@color/hintColor"
                    android:textSize="16dp" />

            </RelativeLayout>

            <TextView
                android:id="@+id/submit_btn"
                android:layout_width="match_parent"
                android:layout_height="45dp"
                android:layout_marginTop="@dimen/_8sdp"
                android:layout_marginBottom="@dimen/_8sdp"
                android:background="@drawable/btn"
                android:gravity="center"
                android:text="@string/apply_now"
                android:textColor="@color/white"
                android:textSize="18dp"/>

        </LinearLayout>

    </RelativeLayout>
</FrameLayout>