2013-03-25 21:26:03 -07:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
|
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:fillViewport="true"
|
|
|
|
android:background="@drawable/background_pattern_repeat">
|
|
|
|
|
2014-10-29 14:34:22 -07:00
|
|
|
<LinearLayout android:padding="16dp"
|
|
|
|
android:paddingBottom="0dp"
|
2017-03-30 18:18:04 -07:00
|
|
|
android:layout_marginTop="20dp"
|
2013-07-09 16:24:48 -07:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2017-03-30 18:18:04 -07:00
|
|
|
android:animateLayoutChanges="true"
|
2013-07-09 16:24:48 -07:00
|
|
|
android:orientation="vertical">
|
2013-03-25 21:26:03 -07:00
|
|
|
|
2013-07-09 16:24:48 -07:00
|
|
|
<Spinner android:id="@+id/country_spinner"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="16dip" />
|
2013-03-25 21:26:03 -07:00
|
|
|
|
2013-07-09 16:24:48 -07:00
|
|
|
<LinearLayout android:orientation="horizontal"
|
2015-11-26 19:04:27 +01:00
|
|
|
android:layoutDirection="ltr"
|
2013-03-25 21:26:03 -07:00
|
|
|
android:layout_width="fill_parent"
|
2013-07-09 16:24:48 -07:00
|
|
|
android:layout_height="wrap_content">
|
2013-03-25 21:26:03 -07:00
|
|
|
|
2013-07-09 16:24:48 -07:00
|
|
|
<TextView android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textSize="20sp"
|
|
|
|
style="@style/Registration.Constant"
|
|
|
|
android:text="+" />
|
2013-03-25 21:26:03 -07:00
|
|
|
|
2013-07-09 16:24:48 -07:00
|
|
|
<EditText android:id="@+id/country_code"
|
|
|
|
android:layout_width="55dip"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:gravity="center"
|
|
|
|
android:inputType="phone"
|
2015-01-08 20:19:59 +01:00
|
|
|
android:digits="0123456789"
|
|
|
|
android:maxLength="3" />
|
2013-03-25 21:26:03 -07:00
|
|
|
|
2013-07-09 16:24:48 -07:00
|
|
|
<EditText android:id="@+id/number"
|
|
|
|
android:layout_width="0dip"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:inputType="phone"
|
|
|
|
android:hint="@string/registration_activity__phone_number"
|
|
|
|
android:gravity="center"
|
|
|
|
android:singleLine="true"/>
|
2013-03-25 21:26:03 -07:00
|
|
|
|
|
|
|
</LinearLayout>
|
2013-07-09 16:24:48 -07:00
|
|
|
|
2014-10-29 14:34:22 -07:00
|
|
|
<TextView style="@style/Registration.Description"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_marginBottom="8dip"
|
|
|
|
android:layout_marginTop="16dip"
|
2015-11-26 19:04:27 +01:00
|
|
|
android:gravity="start"
|
2015-09-23 13:35:18 -07:00
|
|
|
android:text="@string/registration_activity__verify_your_number_to_connect_with_signal"/>
|
2014-10-29 14:34:22 -07:00
|
|
|
|
|
|
|
<TextView style="@style/Registration.Description"
|
2017-03-30 18:18:04 -07:00
|
|
|
android:id="@+id/registration_information"
|
2014-10-29 14:34:22 -07:00
|
|
|
android:layout_width="fill_parent"
|
2015-11-26 19:04:27 +01:00
|
|
|
android:gravity="start"
|
2017-03-30 18:18:04 -07:00
|
|
|
android:visibility="gone"
|
|
|
|
android:layout_marginBottom="16dp"
|
2014-10-29 14:34:22 -07:00
|
|
|
android:text="@string/registration_activity__registration_will_transmit_some_contact_information_to_the_server_temporariliy"/>
|
|
|
|
|
2017-03-30 18:18:04 -07:00
|
|
|
<LinearLayout android:id="@+id/information_link_container"
|
|
|
|
android:clickable="true"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="16dip">
|
|
|
|
|
|
|
|
<ImageView android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:clickable="false"
|
|
|
|
android:src="@drawable/ic_info_white_18dp"
|
|
|
|
android:tint="#73B7F0"/>
|
|
|
|
|
|
|
|
<TextView style="@style/Registration.Description"
|
|
|
|
android:id="@+id/information_label"
|
|
|
|
android:clickable="false"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="3dp"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:textColor="#73B7F0"
|
|
|
|
android:text="@string/RegistrationActivity_more_information"/>
|
|
|
|
</LinearLayout>
|
|
|
|
|
2013-07-11 14:58:40 -07:00
|
|
|
<LinearLayout android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2014-01-10 05:11:49 +02:00
|
|
|
android:layout_marginTop="16dip"
|
|
|
|
android:layout_marginBottom="16dip"
|
2013-07-11 14:58:40 -07:00
|
|
|
android:layout_gravity="right"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
2017-03-30 18:18:04 -07:00
|
|
|
<TextView android:id="@+id/skipButton"
|
|
|
|
android:paddingLeft="20dp"
|
|
|
|
android:paddingRight="20dp"
|
|
|
|
android:paddingTop="15dp"
|
|
|
|
android:paddingBottom="15dp"
|
2015-03-11 14:23:45 -07:00
|
|
|
android:text="@android:string/cancel"
|
2017-03-30 18:18:04 -07:00
|
|
|
android:textColor="@color/white"
|
|
|
|
android:background="@drawable/pill_button"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
2013-07-11 14:58:40 -07:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_weight="1"
|
2017-03-30 18:18:04 -07:00
|
|
|
android:layout_marginRight="5dip"
|
|
|
|
android:layout_height="wrap_content"/>
|
2013-07-11 14:58:40 -07:00
|
|
|
|
2017-03-30 18:18:04 -07:00
|
|
|
<TextView android:id="@+id/registerButton"
|
|
|
|
android:paddingLeft="20dp"
|
|
|
|
android:paddingRight="20dp"
|
|
|
|
android:paddingTop="15dp"
|
|
|
|
android:paddingBottom="15dp"
|
2013-07-11 14:58:40 -07:00
|
|
|
android:text="@string/registration_activity__register"
|
2017-03-30 18:18:04 -07:00
|
|
|
android:textColor="@color/white"
|
|
|
|
android:background="@drawable/pill_button"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
2013-07-11 14:58:40 -07:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_weight="1"
|
2017-03-30 18:18:04 -07:00
|
|
|
android:layout_height="wrap_content"/>
|
|
|
|
|
2013-07-11 14:58:40 -07:00
|
|
|
</LinearLayout>
|
|
|
|
|
2015-07-02 11:10:18 -07:00
|
|
|
<ImageView android:id="@+id/twilio_shoutout"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:src="@drawable/ic_twilio_shoutout_white"
|
|
|
|
android:layout_gravity="right"
|
|
|
|
android:tint="@color/grey_800"
|
|
|
|
android:contentDescription="@string/registration_activity__powered_by_twilio"/>
|
|
|
|
|
2013-07-09 16:24:48 -07:00
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|