<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:app="http://schemas.android.com/apk/res-auto"
  android:orientation="vertical"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:gravity="center_horizontal">

  <android.support.design.widget.TextInputLayout
    app:hintTextAppearance="@style/BodySecondary"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_marginTop="@dimen/grid_2">

    <EditText
      android:id="@+id/full_name"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:inputType="textPersonName|textCapWords"
      android:maxLines="1"
      style="@style/CalloutPrimary"
      android:hint="@string/signup_input_fields_full_name" />

  </android.support.design.widget.TextInputLayout>

  <android.support.design.widget.TextInputLayout
    app:hintTextAppearance="@style/BodySecondary"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_marginTop="@dimen/grid_1">

    <EditText
      android:id="@+id/email"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:inputType="textEmailAddress"
      android:maxLines="1"
      style="@style/CalloutPrimary"
      android:hint="@string/login_placeholder_email" />

  </android.support.design.widget.TextInputLayout>

  <android.support.design.widget.TextInputLayout
    app:hintTextAppearance="@style/BodySecondary"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_marginTop="@dimen/grid_1">

    <EditText
      android:id="@+id/password"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:layout_marginBottom="@dimen/grid_2"
      android:inputType="textPassword"
      android:maxLines="1"
      style="@style/CalloutPrimary"
      android:hint="@string/signup_input_fields_password_min_characters" />

  </android.support.design.widget.TextInputLayout>

  <android.support.v7.widget.SwitchCompat
    android:id="@+id/newsletter_switch"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    style="@style/Caption1Secondary"
    android:layout_marginBottom="@dimen/grid_1"
    android:text="@string/signup_newsletter_full"/>

  <Button
    android:id="@+id/signup_button"
    style="@style/GreenRoundedButton"
    android:enabled="false"
    android:layout_marginTop="@dimen/grid_2"
    android:layout_marginBottom="@dimen/grid_2"
    android:layout_width="match_parent"
    android:text="@string/signup_button" />

  <com.kickstarter.ui.views.HtmlTextView
    style="@style/Caption1Secondary"
    android:id="@+id/disclaimer"
    android:background="@drawable/click_indicator_light_masked"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:gravity="center_horizontal"
    android:layout_marginBottom="@dimen/grid_1"
    android:padding="@dimen/grid_1"
    android:text="@string/login_tout_disclaimer_by_signing_up_you_agree_to_terms_html" />

</LinearLayout>

