<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tool="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical">

    <androidx.core.widget.NestedScrollView
        android:id="@+id/nestedScrollView"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:fillViewport="true"
        android:paddingStart="@dimen/margin_15"
        android:paddingEnd="@dimen/margin_15"
        android:paddingTop="@dimen/margin_15"
        android:paddingBottom="@dimen/margin_120"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent">

        <androidx.constraintlayout.widget.ConstraintLayout
            android:id="@+id/signUp"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_marginTop="@dimen/margin_10"
            android:orientation="vertical"
            app:layout_constraintBottom_toBottomOf="parent">

            <ImageView
                android:id="@+id/ivInfo"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:contentDescription="@string/next"
                android:src="@drawable/svg_info"
                app:layout_constraintBottom_toTopOf="@+id/subHeader"
                app:layout_constraintEnd_toEndOf="parent"
                app:layout_constraintHorizontal_bias="0.995"
                app:layout_constraintStart_toEndOf="@+id/txtGetStart"
                app:layout_constraintTop_toTopOf="parent"
                app:layout_constraintVertical_bias="0.0" />

            <TextView
                android:id="@+id/txtGetStart"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:maxLines="2"
                android:padding="@dimen/margin_5"
                android:text="@string/let_s_get_started"
                android:textColor="@color/black"
                android:textSize="@dimen/text_size_20"
                android:textStyle="bold"
                app:layout_constraintStart_toStartOf="parent"
                app:layout_constraintTop_toTopOf="parent" />

            <TextView
                android:id="@+id/subHeader"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginTop="@dimen/margin_8"
                android:text="Start your online business in few steps"
                android:textColor="@color/black"
                app:layout_constraintEnd_toEndOf="parent"
                app:layout_constraintStart_toStartOf="parent"
                app:layout_constraintTop_toBottomOf="@id/txtGetStart" />

            <!--Full Name  -->
            <com.google.android.material.textfield.TextInputLayout
                android:id="@+id/tlArnNumber"
                style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginTop="@dimen/margin_22"
                android:hint="@string/enter_your_arn_number"
                android:padding="@dimen/margin_3"
                app:layout_constraintTop_toBottomOf="@+id/subHeader">

                <com.google.android.material.textfield.MaterialAutoCompleteTextView
                    android:id="@+id/edtArnNumber"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:inputType="number"
                    android:maxLength="7"
                    android:textColorHint="@color/greyColor2"
                    android:textSize="@dimen/text_size_14"
                    android:padding="@dimen/margin_15"
                    tool:ignore="TextContrastCheck" />

            </com.google.android.material.textfield.TextInputLayout>

            <RelativeLayout
                android:id="@+id/rlARNUpload"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:visibility="gone"
                android:layout_marginTop="@dimen/margin_10"
                app:layout_constraintTop_toBottomOf="@+id/tlArnNumber">

                <TextView
                    style="@style/semiBoldStyle"
                    android:id="@+id/tvUploadARN"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:textColor="@color/black"
                    android:text="@string/uploadArnCard" />

                <TextView
                    android:id="@+id/tvUploadFormat"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_alignParentEnd="true"
                    android:text="@string/format_png_or_jpg" />

            <RelativeLayout
                android:id="@+id/rvARNUploadLayout"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginTop="@dimen/margin_5"
                android:layout_below="@+id/tvUploadFormat"
                android:background="@drawable/dot_rect">

                <ImageView
                    android:id="@+id/ivARNUpload"
                    android:layout_width="@dimen/margin_130"
                    android:layout_height="@dimen/margin_90"
                    android:scaleType="fitXY" />

                <TextView
                    android:id="@+id/tvUploadARNTitle"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_centerInParent="true"
                    android:textColor="@color/lightBlue1"
                    android:layout_marginTop="@dimen/margin_10"
                    android:text="@string/upload" />

            </RelativeLayout>

            </RelativeLayout>

            <com.google.android.material.textfield.TextInputLayout
                android:id="@+id/tlEUINNumber"
                style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginTop="@dimen/margin_10"
                android:hint="@string/euinNumberHint"
                android:padding="@dimen/margin_3"
                app:layout_constraintTop_toBottomOf="@+id/rlARNUpload">

                <com.nivesh.production.partnerOnBoarding.util.maskedEditText.MaskedEditText
                    android:id="@+id/edtEUINNumber"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:contentDescription="@string/euinNum"
                    android:gravity="top|start"
                    android:inputType="number"
                    android:maxLength="18"
                    android:textColorHint="@color/greyColor2"
                    android:textSize="@dimen/text_size_14"
                    app:mask="#### / #### / ####"
                    tool:ignore="TouchTargetSizeCheck,EditableContentDescCheck" />

            </com.google.android.material.textfield.TextInputLayout>

            <com.google.android.material.textfield.TextInputLayout
                android:id="@+id/tlPassingAMFI"
                style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginTop="@dimen/margin_5"
                android:hint="@string/passing_amfi_certificate"
                android:padding="@dimen/margin_3"
                app:layout_constraintTop_toBottomOf="@+id/tlEUINNumber">

                <com.google.android.material.textfield.TextInputEditText
                    android:id="@+id/edtPassingAMFI"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:inputType="none"
                    android:focusable="false"
                    android:drawableStart="@drawable/svg_cal"
                    android:drawablePadding="@dimen/margin_10"
                    android:gravity="center_vertical"
                    android:textColorHint="@color/greyColor2"
                    android:textSize="@dimen/text_size_14" />

            </com.google.android.material.textfield.TextInputLayout>

            <com.google.android.material.textfield.TextInputLayout
                android:id="@+id/tlExpiryAMFI"
                style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginTop="@dimen/margin_5"
                android:hint="@string/expiry_amfi_certificate"
                android:padding="@dimen/margin_3"
                app:layout_constraintTop_toBottomOf="@+id/tlPassingAMFI">

                <com.google.android.material.textfield.TextInputEditText
                    android:id="@+id/edtExpiryAMFI"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:inputType="none"
                    android:focusable="false"
                    android:drawableStart="@drawable/svg_cal"
                    android:drawablePadding="@dimen/margin_10"
                    android:gravity="center_vertical"
                    android:textColorHint="@color/greyColor2"
                    android:textSize="@dimen/text_size_14" />

            </com.google.android.material.textfield.TextInputLayout>

            <!--Email  -->
            <com.google.android.material.textfield.TextInputLayout
                android:id="@+id/tlPanNumber"
                style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginTop="@dimen/margin_5"
                android:hint="@string/enter_pan_card_number"
                android:padding="@dimen/margin_3"
                app:layout_constraintTop_toBottomOf="@+id/tlExpiryAMFI">

                <com.google.android.material.textfield.TextInputEditText
                    android:id="@+id/edtPanNumber"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:digits="@string/panDigit"
                    android:maxLength="10"
                    android:inputType="textCapCharacters"
                    android:textColorHint="@color/greyColor2"
                    android:textSize="@dimen/text_size_14"
                    tool:ignore="TextContrastCheck" />

            </com.google.android.material.textfield.TextInputLayout>

            <!--Address Line 1  -->
            <com.google.android.material.textfield.TextInputLayout
                android:id="@+id/tlFullNamePanCard"
                style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginTop="@dimen/margin_5"
                android:hint="@string/full_name_as_on_pan_card"
                android:padding="@dimen/margin_3"
                app:layout_constraintTop_toBottomOf="@+id/tlPanNumber">

                <com.google.android.material.textfield.TextInputEditText
                    android:id="@+id/edtFullNamePanCard"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:inputType="text"
                    android:maxEms="30"
                    android:textColorHint="@color/greyColor2"
                    android:textSize="@dimen/text_size_14"
                    tool:ignore="TextContrastCheck" />

            </com.google.android.material.textfield.TextInputLayout>

            <RelativeLayout
                android:id="@+id/rlEUINUpload"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:visibility="gone"
                android:layout_marginTop="@dimen/margin_10"
                app:layout_constraintTop_toBottomOf="@+id/tlFullNamePanCard">

                <com.google.android.material.textfield.TextInputLayout
                    android:id="@+id/tlEUINName"
                    style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:layout_marginTop="@dimen/margin_5"
                    android:hint="@string/euinName"
                    android:padding="@dimen/margin_3">

                    <com.google.android.material.textfield.TextInputEditText
                        android:id="@+id/edtEUINName"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:inputType="text"
                        android:textColorHint="@color/greyColor2"
                        android:textSize="@dimen/text_size_14"
                        tool:ignore="TextContrastCheck" />

                </com.google.android.material.textfield.TextInputLayout>

                <com.google.android.material.textfield.TextInputLayout
                    android:id="@+id/tlEUINNumberNF"
                    style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:layout_marginTop="@dimen/margin_10"
                    android:hint="@string/euinNumberHint"
                    android:padding="@dimen/margin_3"
                    android:layout_below="@+id/tlEUINName">

                    <com.nivesh.production.partnerOnBoarding.util.maskedEditText.MaskedEditText
                        android:id="@+id/edtEUINNumberNF"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:inputType="number"
                        android:maxEms="18"
                        android:gravity="top|start"
                        app:mask="#### / #### / ####"
                        android:textColorHint="@color/greyColor2"
                        android:textSize="@dimen/text_size_14" />

                </com.google.android.material.textfield.TextInputLayout>

                <TextView
                    style="@style/semiBoldStyle"
                    android:id="@+id/tvUploadEUIN"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="@string/uploadEUINCard"
                    android:textColor="@color/black"
                    android:layout_marginTop="@dimen/margin_10"
                    android:layout_below="@+id/tlEUINNumberNF"/>

                <TextView
                    android:id="@+id/tvUploadEUINFormat"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_alignParentEnd="true"
                    android:layout_marginTop="@dimen/margin_10"
                    android:text="@string/format_png_or_jpg"
                    android:layout_below="@+id/tlEUINNumberNF"/>

                <RelativeLayout
                    android:id="@+id/rvEUINUploadLayout"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_below="@+id/tvUploadEUIN"
                    android:background="@drawable/dot_rect">

                    <ImageView
                        android:id="@+id/ivEUINUpload"
                        android:layout_width="@dimen/margin_130"
                        android:layout_height="@dimen/margin_90"
                        android:scaleType="fitXY" />

                    <TextView
                        android:id="@+id/tvUploadEUINTitle"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_centerInParent="true"
                        android:textColor="@color/lightBlue1"
                        android:text="@string/upload" />

                </RelativeLayout>

            </RelativeLayout>

            <View
                android:id="@+id/viewHelper"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginTop="@dimen/margin_16"
                android:layout_marginBottom="@dimen/margin_16"
                android:background="@drawable/rounded_view"
                app:layout_constraintTop_toBottomOf="@+id/rlEUINUpload" />

            <TextView
                android:id="@+id/addAddressProof"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginStart="@dimen/margin_8"
                android:layout_marginTop="@dimen/margin_25"
                android:padding="@dimen/margin_4"
                android:text="Add ADDRESS PROOF"
                android:textColor="@color/black"
                android:textSize="@dimen/text_size_14"
                android:textStyle="bold"
                app:layout_constraintHorizontal_bias="0.5"
                app:layout_constraintHorizontal_chainStyle="spread"
                app:layout_constraintStart_toStartOf="parent"
                app:layout_constraintTop_toBottomOf="@+id/rlEUINUpload" />

            <TextView
                android:id="@+id/format"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginTop="@dimen/margin_25"
                android:padding="@dimen/margin_4"
                android:text="@string/format_png_or_jpg"
                android:textColor="#909090"
                android:textSize="@dimen/text_size_14"
                app:layout_constraintRight_toRightOf="parent"
                app:layout_constraintTop_toBottomOf="@+id/rlEUINUpload" />

            <TextView
                android:id="@+id/docTypeHeader"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginStart="@dimen/margin_8"
                android:layout_marginTop="@dimen/margin_3"
                android:padding="@dimen/margin_4"
                android:text="Choose the document type"
                android:textColor="@color/black"
                android:textSize="@dimen/text_size_14"
                android:textStyle="bold"
                app:layout_constraintStart_toStartOf="parent"
                app:layout_constraintTop_toBottomOf="@+id/addAddressProof" />

            <com.google.android.material.textfield.TextInputLayout
                android:id="@+id/spAddressType"
                style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
                android:layout_width="match_parent"
                android:layout_height="@dimen/margin_48"
                android:layout_marginStart="@dimen/margin_8"
                android:layout_marginTop="@dimen/margin_15"
                android:layout_marginEnd="@dimen/margin_15"
                android:layout_marginBottom="@dimen/margin_5"
                app:hintEnabled="false"
                app:layout_constraintTop_toBottomOf="@+id/docTypeHeader">

                <com.google.android.material.textfield.MaterialAutoCompleteTextView
                    android:id="@+id/spDocType"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:background="@drawable/rounded_corner_with_line1"
                    android:hint="@string/addressProofType"
                    android:inputType="none"
                    android:labelFor="@+id/spInterestPayout"
                    android:textColorHint="@color/greyColor2"
                    android:textSize="@dimen/text_size_14" />

            </com.google.android.material.textfield.TextInputLayout>

            <LinearLayout
                android:id="@+id/llDoc"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginStart="@dimen/margin_10"
                android:orientation="horizontal"
                android:visibility="gone"
                app:layout_constraintStart_toStartOf="parent"
                app:layout_constraintTop_toBottomOf="@+id/spAddressType">

                <LinearLayout
                    android:id="@+id/llFront"
                    android:layout_width="0dp"
                    android:layout_height="wrap_content"
                    android:layout_weight="1"
                    android:orientation="vertical">

                    <TextView
                        android:id="@+id/txtFront"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_marginTop="@dimen/margin_10"
                        android:padding="@dimen/margin_4"
                        android:text="@string/front"
                        android:textColor="@color/black"
                        android:textSize="@dimen/text_size_14"
                        android:textStyle="bold"
                        app:layout_constraintBottom_toTopOf="@+id/uploadViewFront"
                        app:layout_constraintEnd_toStartOf="@+id/txtBack"
                        app:layout_constraintHorizontal_bias="0.129"
                        app:layout_constraintStart_toStartOf="parent"
                        app:layout_constraintTop_toTopOf="parent" />

                    <RelativeLayout
                        android:id="@+id/rvFrontLayout"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:background="@drawable/dot_rect">

                        <ImageView
                            android:id="@+id/ivFront"
                            android:layout_width="@dimen/margin_130"
                            android:layout_height="@dimen/margin_90"
                            android:scaleType="fitXY" />

                        <ImageView
                            android:id="@+id/ivFrontLayer"
                            android:layout_width="@dimen/margin_130"
                            android:layout_height="@dimen/margin_90"
                            android:scaleType="fitXY" />

                        <ImageView
                            android:id="@+id/ivFrontTik"
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:layout_centerInParent="true"
                            android:backgroundTint="@color/greenColor" />

                        <com.google.android.material.button.MaterialButton
                            android:id="@+id/uploadFront"
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:layout_marginStart="@dimen/margin_20"
                            android:layout_marginTop="@dimen/margin_20"
                            android:layout_marginEnd="@dimen/margin_20"
                            android:layout_marginBottom="@dimen/margin_20"
                            android:backgroundTint="@color/white"
                            android:text="@string/upload"
                            android:textAllCaps="false"
                            android:textColor="@color/red"
                            app:cornerRadius="@dimen/margin_15" />

                    </RelativeLayout>

                    <com.google.android.material.button.MaterialButton
                        android:id="@+id/mbUploadChangeFront"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_marginStart="@dimen/margin_20"
                        android:layout_marginEnd="@dimen/margin_20"
                        android:layout_marginBottom="@dimen/margin_20"
                        android:backgroundTint="@color/white"
                        android:text="@string/change"
                        android:textAllCaps="false"
                        android:textColor="@color/red"
                        android:textStyle="bold"
                        android:visibility="gone"
                        app:cornerRadius="@dimen/margin_15" />

                </LinearLayout>

                <LinearLayout
                    android:id="@+id/llBack"
                    android:layout_width="0dp"
                    android:layout_height="wrap_content"
                    android:layout_weight="1"
                    android:orientation="vertical">

                    <TextView
                        android:id="@+id/txtBack"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_marginTop="@dimen/margin_10"
                        android:padding="@dimen/margin_4"
                        android:text="@string/back"
                        android:textColor="@color/black"
                        android:textSize="@dimen/text_size_14"
                        android:textStyle="bold"
                        app:layout_constraintBottom_toTopOf="@+id/uploadViewBack"
                        app:layout_constraintEnd_toEndOf="parent"
                        app:layout_constraintHorizontal_bias="0.028"
                        app:layout_constraintStart_toStartOf="@+id/uploadViewBack"
                        app:layout_constraintTop_toTopOf="parent" />

                    <RelativeLayout
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:background="@drawable/dot_rect">

                        <ImageView
                            android:id="@+id/ivBack"
                            android:layout_width="@dimen/margin_130"
                            android:layout_height="@dimen/margin_90"
                            android:scaleType="fitXY" />

                        <ImageView
                            android:id="@+id/ivBackLayer"
                            android:layout_width="@dimen/margin_130"
                            android:layout_height="@dimen/margin_90"
                            android:scaleType="fitXY" />

                        <ImageView
                            android:id="@+id/ivBackTik"
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:layout_centerInParent="true"
                            android:backgroundTint="@color/greenColor" />

                        <com.google.android.material.button.MaterialButton
                            android:id="@+id/uploadBack"
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:layout_margin="@dimen/margin_20"
                            android:layout_marginStart="@dimen/margin_15"
                            android:layout_marginEnd="@dimen/margin_5"
                            android:backgroundTint="@color/white"
                            android:text="@string/upload"
                            android:textAllCaps="false"
                            android:textColor="@color/red"
                            app:cornerRadius="@dimen/margin_15" />

                    </RelativeLayout>

                    <com.google.android.material.button.MaterialButton
                        android:id="@+id/mbUploadChangeBack"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_marginStart="@dimen/margin_20"
                        android:layout_marginEnd="@dimen/margin_20"
                        android:layout_marginBottom="@dimen/margin_20"
                        android:backgroundTint="@color/white"
                        android:text="@string/change"
                        android:textAllCaps="false"
                        android:textColor="@color/red"
                        android:textStyle="bold"
                        android:visibility="gone"
                        app:cornerRadius="@dimen/margin_15" />

                </LinearLayout>

            </LinearLayout>

        </androidx.constraintlayout.widget.ConstraintLayout>

    </androidx.core.widget.NestedScrollView>

    <com.google.android.material.button.MaterialButton
        android:id="@+id/saveDraft"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginStart="@dimen/margin_15"
        android:layout_marginEnd="@dimen/margin_5"
        android:layout_marginBottom="@dimen/margin_40"
        android:backgroundTint="@color/white"
        android:text="@string/save_draft"
        android:textColor="@color/red"
        app:cornerRadius="@dimen/margin_15"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toStartOf="@+id/btnNext"
        app:layout_constraintHorizontal_bias="0.5"
        app:layout_constraintHorizontal_chainStyle="spread"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintRight_toLeftOf="@+id/btnNext"
        app:layout_constraintStart_toStartOf="parent"/>

    <com.google.android.material.button.MaterialButton
        android:id="@+id/btnNext"
        android:layout_width="170dp"
        android:layout_height="wrap_content"
        android:layout_marginStart="@dimen/margin_5"
        android:layout_marginEnd="@dimen/margin_15"
        android:layout_marginBottom="@dimen/margin_40"
        android:backgroundTint="@color/red"
        android:text="@string/continueText"
        android:textColor="@color/white"
        app:cornerRadius="@dimen/margin_15"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintHorizontal_bias="0.5"
        app:layout_constraintLeft_toRightOf="@+id/saveDraft"
        app:layout_constraintRight_toRightOf="parent"
        app:layout_constraintStart_toEndOf="@+id/saveDraft" />

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:padding="@dimen/margin_4"
        android:text="@string/up_next_address"
        android:textColor="@color/textColor1"
        style="@style/regularStyle"
        android:textSize="@dimen/text_size_14"
        app:layout_constraintEnd_toEndOf="@+id/btnNext"
        app:layout_constraintRight_toRightOf="parent"
        app:layout_constraintStart_toStartOf="@+id/btnNext"
        app:layout_constraintTop_toBottomOf="@+id/btnNext" />

    <RelativeLayout
        android:id="@+id/rlProgress"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="@color/transparent2"
        android:visibility="gone"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent">

        <ProgressBar
            android:id="@+id/pbInternal"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerInParent="true" />

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:textColor="@color/white"
            android:layout_below="@+id/pbInternal"
            android:layout_centerHorizontal="true"
            android:text="@string/pleaseWait"/>

    </RelativeLayout>

</androidx.constraintlayout.widget.ConstraintLayout>