2016-04-19 16:03:24 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-03-18 08:30:22 +00:00
|
|
|
<LinearLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<include layout="@layout/toolbar" />
|
|
|
|
|
|
|
|
<ScrollView
|
2016-04-19 16:03:24 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2018-03-18 08:30:22 +00:00
|
|
|
android:fillViewport="true">
|
|
|
|
<RelativeLayout
|
2016-04-19 16:03:24 +00:00
|
|
|
android:layout_width="match_parent"
|
2018-03-18 08:30:22 +00:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="?attr/color_background_primary">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/linearLayout"
|
2016-04-19 16:03:24 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2018-03-18 08:30:22 +00:00
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
android:minHeight="256dp"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:paddingBottom="10dp"
|
|
|
|
android:paddingLeft="16dp"
|
|
|
|
android:paddingRight="16dp">
|
|
|
|
<Space
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_weight="1"/>
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/pick_your_username"
|
2018-03-31 10:16:56 +00:00
|
|
|
android:textAppearance="@style/TextAppearance.Conversations.Title"/>
|
2018-03-18 08:30:22 +00:00
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:text="@string/magic_create_text"
|
2018-03-31 10:16:56 +00:00
|
|
|
android:textAppearance="@style/TextAppearance.Conversations.Body1"/>
|
2018-03-18 08:30:22 +00:00
|
|
|
<EditText
|
|
|
|
android:id="@+id/username"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:hint="@string/username_hint"
|
|
|
|
android:inputType="textNoSuggestions"/>
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/full_jid"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:text="@string/your_full_jid_will_be"
|
2018-03-31 10:16:56 +00:00
|
|
|
android:textAppearance="@style/TextAppearance.Conversations.Caption"
|
2018-03-18 08:30:22 +00:00
|
|
|
android:visibility="invisible"/>
|
|
|
|
<Button
|
|
|
|
android:id="@+id/create_account"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="right"
|
|
|
|
android:text="@string/next"
|
|
|
|
android:textColor="@color/accent"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<RelativeLayout
|
2016-04-19 16:03:24 +00:00
|
|
|
android:layout_width="match_parent"
|
2018-03-18 08:30:22 +00:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_above="@+id/linearLayout"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_alignParentStart="true">
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:padding="8dp"
|
|
|
|
android:src="@drawable/main_logo"/>
|
|
|
|
</RelativeLayout>
|
2016-04-19 16:03:24 +00:00
|
|
|
<TextView
|
2018-03-18 08:30:22 +00:00
|
|
|
android:paddingLeft="8dp"
|
|
|
|
android:paddingRight="8dp"
|
2016-04-19 16:03:24 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2018-03-18 08:30:22 +00:00
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:textColor="?android:textColorSecondary"
|
|
|
|
android:textSize="@dimen/fineprint_size"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:text="@string/free_for_six_month"
|
|
|
|
android:layout_centerHorizontal="true"/>
|
2016-04-19 16:03:24 +00:00
|
|
|
</RelativeLayout>
|
2018-03-18 08:30:22 +00:00
|
|
|
</ScrollView>
|
|
|
|
</LinearLayout>
|