2013-03-26 04:26:03 +00: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 21:34:22 +00:00
|
|
|
<LinearLayout android:padding="16dp"
|
|
|
|
android:paddingBottom="0dp"
|
2013-07-09 23:24:48 +00:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2014-01-10 03:08:25 +00:00
|
|
|
android:gravity="center_vertical"
|
2013-07-09 23:24:48 +00:00
|
|
|
android:orientation="vertical">
|
2013-03-26 04:26:03 +00:00
|
|
|
|
2013-07-09 23:24:48 +00:00
|
|
|
<TextView style="@style/Registration.Label"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:textAllCaps="true"
|
|
|
|
android:text="@string/registration_activity__your_country" />
|
2013-03-26 04:26:03 +00:00
|
|
|
|
2013-07-09 23:24:48 +00:00
|
|
|
<Spinner android:id="@+id/country_spinner"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="16dip" />
|
2013-03-26 04:26:03 +00:00
|
|
|
|
2013-07-09 23:24:48 +00:00
|
|
|
<TextView style="@style/Registration.Label"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:textAllCaps="true"
|
|
|
|
android:text="@string/registration_activity__your_country_code_and_phone_number" />
|
2013-03-26 04:26:03 +00:00
|
|
|
|
2013-07-09 23:24:48 +00:00
|
|
|
<LinearLayout android:orientation="horizontal"
|
2013-03-26 04:26:03 +00:00
|
|
|
android:layout_width="fill_parent"
|
2013-07-09 23:24:48 +00:00
|
|
|
android:layout_height="wrap_content">
|
2013-03-26 04:26:03 +00:00
|
|
|
|
2013-07-09 23:24:48 +00:00
|
|
|
<TextView android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textSize="20sp"
|
|
|
|
style="@style/Registration.Constant"
|
|
|
|
android:text="+" />
|
2013-03-26 04:26:03 +00:00
|
|
|
|
2013-07-09 23:24:48 +00: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"
|
|
|
|
android:digits="0123456789" />
|
2013-03-26 04:26:03 +00:00
|
|
|
|
2013-07-09 23:24:48 +00: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-26 04:26:03 +00:00
|
|
|
|
|
|
|
</LinearLayout>
|
2013-07-09 23:24:48 +00:00
|
|
|
|
2014-10-29 21:34:22 +00:00
|
|
|
<TextView style="@style/Registration.Description"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_marginBottom="8dip"
|
|
|
|
android:layout_marginTop="16dip"
|
|
|
|
android:text="@string/registration_activity__textsecure_can_use_instant_messages_to_avoid_sms_charges_when_communicating_with_other_textsecure_users"/>
|
|
|
|
|
|
|
|
<TextView style="@style/Registration.Description"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_marginBottom="16dip"
|
|
|
|
android:text="@string/registration_activity__registration_will_transmit_some_contact_information_to_the_server_temporariliy"/>
|
|
|
|
|
2013-07-11 21:58:40 +00:00
|
|
|
<LinearLayout android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2014-01-10 03:11:49 +00:00
|
|
|
android:layout_marginTop="16dip"
|
|
|
|
android:layout_marginBottom="16dip"
|
2013-07-11 21:58:40 +00:00
|
|
|
android:layout_gravity="right"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<Button android:id="@+id/skipButton"
|
2014-03-01 14:18:59 +00:00
|
|
|
android:text="@string/registration_activity__skip"
|
2013-07-11 21:58:40 +00:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginRight="5dip"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"/>
|
|
|
|
|
|
|
|
<Button android:id="@+id/registerButton"
|
|
|
|
android:text="@string/registration_activity__register"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"/>
|
|
|
|
</LinearLayout>
|
|
|
|
|
2013-07-09 23:24:48 +00:00
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|