mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-25 17:27:45 +00:00
9ddfa6499c
Look like an Android app from 2013. Remove the redundant Gingerbread button styles from buttons to automatically use the Holo theme on phones that don't run a 3+ year old operating system. Create a new style for horizontal progress bars that uses the Holo progress bar style on v11 and above.
82 lines
3.6 KiB
XML
82 lines
3.6 KiB
XML
<?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">
|
|
|
|
<FrameLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:gravity="center" >
|
|
|
|
<LinearLayout android:paddingRight="16dip"
|
|
android:paddingLeft="16dip"
|
|
android:paddingTop="10dip"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
<TextView style="@style/Registration.Description"
|
|
android:layout_width="fill_parent"
|
|
android:layout_marginBottom="16dip"
|
|
android:layout_marginTop="16dip"
|
|
android:text="Please confirm your country code and phone number."/>
|
|
|
|
<TextView style="@style/Registration.Label"
|
|
android:layout_width="fill_parent"
|
|
android:textAllCaps="true"
|
|
android:text="YOUR COUNTRY" />
|
|
|
|
<Spinner android:id="@+id/country_spinner"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="16dip" />
|
|
|
|
<TextView style="@style/Registration.Label"
|
|
android:layout_width="fill_parent"
|
|
android:textAllCaps="true"
|
|
android:text="YOUR COUNTRY CODE AND PHONE NUMBER" />
|
|
|
|
<LinearLayout android:orientation="horizontal"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<TextView android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textSize="20sp"
|
|
style="@style/Registration.Constant"
|
|
android:text="+" />
|
|
|
|
<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" />
|
|
|
|
<EditText android:id="@+id/number"
|
|
android:layout_width="0dip"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:inputType="phone"
|
|
android:hint="PHONE NUMBER"
|
|
android:gravity="center"
|
|
android:singleLine="true"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<Button android:id="@+id/registerButton"
|
|
android:text="Register"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="right"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
android:layout_marginTop="20dip"
|
|
android:layout_marginBottom="20dip"/>
|
|
</LinearLayout>
|
|
</FrameLayout>
|
|
</ScrollView> |