diff options
author | Christian Schneppe <christian@pix-art.de> | 2016-11-19 23:07:54 +0100 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2016-11-19 23:07:54 +0100 |
commit | d783cec97084a12873ca62b5fcd64620056ec01b (patch) | |
tree | 65e63d03dd4ab7a834c343ba593c8cd8917620cb /src/main/res/layout/magic_create.xml | |
parent | 969ba45c56adaaa056f04464cd98aec115c9611b (diff) |
reformat code
Diffstat (limited to '')
-rw-r--r-- | src/main/res/layout/magic_create.xml | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/src/main/res/layout/magic_create.xml b/src/main/res/layout/magic_create.xml index c4adc0297..3330a7cbb 100644 --- a/src/main/res/layout/magic_create.xml +++ b/src/main/res/layout/magic_create.xml @@ -1,8 +1,9 @@ <?xml version="1.0" encoding="utf-8"?> <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:fillViewport="true"> + android:layout_width="match_parent" + android:layout_height="match_parent" + android:fillViewport="true"> + <RelativeLayout android:layout_width="match_parent" android:layout_height="match_parent" @@ -20,24 +21,28 @@ android:paddingBottom="8dp" android:paddingLeft="16dp" android:paddingRight="16dp"> + <Space android:layout_width="match_parent" android:layout_height="0dp" - android:layout_weight="1"/> + android:layout_weight="1" /> + <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/pick_your_username" android:textColor="@color/black87" android:textSize="?attr/TextSizeHeadline" - android:textStyle="bold"/> + android:textStyle="bold" /> + <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="8dp" android:text="@string/magic_create_text" android:textColor="@color/black87" - android:textSize="?attr/TextSizeBody"/> + android:textSize="?attr/TextSizeBody" /> + <EditText android:id="@+id/username" android:layout_width="match_parent" @@ -45,7 +50,8 @@ android:layout_gravity="center_horizontal" android:hint="@string/username_hint" android:inputType="textNoSuggestions" - android:textSize="?attr/TextSizeBody"/> + android:textSize="?attr/TextSizeBody" /> + <TextView android:id="@+id/full_jid" android:layout_width="wrap_content" @@ -54,7 +60,8 @@ android:text="@string/your_full_jid_will_be" android:textColor="@color/black54" android:textSize="?attr/TextSizeInfo" - android:visibility="invisible"/> + android:visibility="invisible" /> + <Button android:id="@+id/create_account" style="?android:attr/borderlessButtonStyle" @@ -62,8 +69,9 @@ android:layout_height="wrap_content" android:layout_gravity="right" android:text="@string/next" - android:textColor="@color/accent"/> + android:textColor="@color/accent" /> </LinearLayout> + <RelativeLayout android:layout_width="match_parent" android:layout_height="match_parent" @@ -71,13 +79,14 @@ android:layout_alignParentLeft="true" android:layout_alignParentStart="true" android:layout_alignParentTop="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"/> + android:src="@drawable/main_logo" /> </RelativeLayout> </RelativeLayout> </ScrollView>
\ No newline at end of file |