Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:fillViewport="true">
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginBottom="60dp"
- android:orientation="vertical"
- android:paddingBottom="24dp"
- android:paddingLeft="24dp"
- android:paddingRight="24dp">
- <TextView
- android:id="@+id/register_step2_title_text"
- style="@style/TextAppearance.AppCompat.Medium"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="4dp"
- android:layout_marginRight="4dp"
- android:layout_marginTop="12dp"
- android:text="@string/step_contact_information_title"
- android:textColor="@color/colorPrimary" />
- <TextView
- android:id="@+id/register_step2_subtitle_text"
- style="@style/TextAppearance.AppCompat.Small"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginBottom="18dp"
- android:layout_marginLeft="4dp"
- android:layout_marginRight="4dp"
- android:layout_marginTop="12dp"
- android:text="@string/step_instruction"
- android:textColor="@color/colorAccent" />
- <AutoCompleteTextView
- android:id="@+id/register_step2_input_addressLine1"
- style="@style/TextAppearance.AppCompat.Small"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginBottom="12dp"
- android:hint="@string/address_line_1"
- android:imeOptions="actionNext"
- android:inputType="text|textNoSuggestions"
- android:maxLines="1"
- android:textColor="@color/colorAccent" />
- <AutoCompleteTextView
- android:id="@+id/register_step2_input_addressLine2"
- style="@style/TextAppearance.AppCompat.Small"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginBottom="12dp"
- android:hint="@string/address_line_2"
- android:imeOptions="actionNext"
- android:inputType="text|textNoSuggestions"
- android:maxLines="1"
- android:textColor="@color/colorAccent" />
- <AutoCompleteTextView
- android:id="@+id/register_step2_input_province"
- style="@style/TextAppearance.AppCompat.Small"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginBottom="12dp"
- android:digits="@string/alphabet_with_space"
- android:hint="@string/province"
- android:imeOptions="actionNext"
- android:inputType="textAutoComplete|textNoSuggestions"
- android:maxLines="1"
- android:singleLine="true"
- android:textColor="@color/colorAccent"
- tools:ignore="Deprecated" />
- <AutoCompleteTextView
- android:id="@+id/register_step2_input_city"
- style="@style/TextAppearance.AppCompat.Small"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginBottom="12dp"
- android:digits="@string/alphabet_with_space"
- android:hint="@string/city"
- android:imeOptions="actionNext"
- android:inputType="textAutoComplete|textNoSuggestions"
- android:maxLines="1"
- android:singleLine="true"
- android:textColor="@color/colorAccent"
- tools:ignore="Deprecated" />
- <AutoCompleteTextView
- android:id="@+id/register_step2_input_post_code"
- style="@style/TextAppearance.AppCompat.Small"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginBottom="12dp"
- android:hint="@string/postcode"
- android:imeOptions="actionNext"
- android:inputType="number"
- android:maxLength="5"
- android:maxLines="1"
- android:textColor="@color/colorAccent" />
- <AutoCompleteTextView
- android:id="@+id/register_step2_input_mobile_phone"
- style="@style/TextAppearance.AppCompat.Small"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginBottom="12dp"
- android:digits="1234567890"
- android:hint="@string/mobile_phone"
- android:imeOptions="actionDone"
- android:inputType="phone"
- android:maxLength="20"
- android:maxLines="1"
- android:textColor="@color/colorAccent" />
- </LinearLayout>
- <FrameLayout
- android:layout_width="match_parent"
- android:layout_height="60dp"
- android:layout_alignParentBottom="true"
- android:background="@drawable/button_background">
- <android.support.v7.widget.AppCompatButton
- android:id="@+id/register_step2_primary_button"
- android:layout_width="match_parent"
- android:layout_height="60dp"
- android:background="?attr/selectableItemBackground"
- android:text="@string/continue_"
- android:textColor="@android:color/white"
- android:textSize="20sp" />
- </FrameLayout>
- </RelativeLayout>
- </ScrollView>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement