diff options
Diffstat (limited to 'src/main/res/layout/welcome.xml')
-rw-r--r-- | src/main/res/layout/welcome.xml | 30 |
1 files changed, 19 insertions, 11 deletions
diff --git a/src/main/res/layout/welcome.xml b/src/main/res/layout/welcome.xml index 25f7c46f0..813570759 100644 --- a/src/main/res/layout/welcome.xml +++ b/src/main/res/layout/welcome.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/welcome_header" 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/welcome_text" android:textColor="@color/black87" - android:textSize="?attr/TextSizeBody"/> + android:textSize="?attr/TextSizeBody" /> + <Button android:id="@+id/create_account" style="?android:attr/borderlessButtonStyle" @@ -45,16 +50,18 @@ android:layout_height="wrap_content" android:layout_gravity="right" android:text="@string/create_account" - android:textColor="@color/accent"/> + android:textColor="@color/accent" /> + <Button - android:id="@+id/use_own_provider" + android:id="@+id/use_existing_account" style="?android:attr/borderlessButtonStyle" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="right" - android:text="@string/use_own_provider" - android:textColor="@color/black54"/> + android:text="@string/use_existing_accout" + android:textColor="@color/black54" /> </LinearLayout> + <RelativeLayout android:layout_width="match_parent" android:layout_height="match_parent" @@ -62,13 +69,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 |