<?xml version="1.0" encoding="utf-8"?>
<android.support.v4.widget.NestedScrollView
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/parent"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/white"
    tools:context=".activity.RegistrationActivity">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        android:paddingBottom="30dp">

        <ImageView
            android:layout_width="match_parent"
            android:layout_height="230dp"
            android:scaleType="centerCrop"
            app:srcCompat="@drawable/image_driver_welcome"/>


        <in.techware.lataxidriver.widgets.CustomTextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:layout_marginTop="50dp"
            android:gravity="center"
            android:lineSpacingExtra="10dp"
            android:paddingLeft="50dp"
            android:paddingRight="50dp"
            android:text="@string/label_did_you_know"
            android:textAppearance="?android:attr/textAppearanceLarge"
            android:textSize="18sp"
            app:textAllCaps="true"/>

        <in.techware.lataxidriver.widgets.CustomTextView
            android:layout_width="45dp"
            android:layout_height="5dp"
            android:layout_gravity="center"
            android:layout_marginTop="15dp"
            android:background="@drawable/btn_click_app_rectangle_with_semicircle_edge"/>

        <in.techware.lataxidriver.widgets.CustomTextView
            android:id="@+id/textView"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:layout_marginTop="20dp"
            android:gravity="center"
            android:paddingLeft="50dp"
            android:paddingRight="50dp"
            android:text="@string/label_continue_to_earn_more_money"
            android:textAppearance="?android:attr/textAppearanceMedium"
            android:textColor="#282828"
            android:textSize="16sp"/>


        <in.techware.lataxidriver.widgets.CustomButton
            android:id="@+id/btn_driver_licence_type_continue"
            android:layout_width="200dp"
            android:layout_height="45dp"
            android:layout_gravity="center"
            android:layout_marginTop="40dp"
            android:background="@drawable/btn_click_black_rectangle_with_semicircle_edge"
            android:onClick="onRegistrationSubmitClick"
            android:text="@string/btn_continue"
            android:textColor="@color/white"/>

        <in.techware.lataxidriver.widgets.CustomTextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:gravity="center"
            android:layout_marginTop="25dp"
            android:text="@string/label_terms_and_conditions"
            android:textColor="@color/text_1"/>


    </LinearLayout>

</android.support.v4.widget.NestedScrollView>