aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorMarvin Borner2018-07-24 22:40:17 +0200
committerMarvin Borner2018-07-24 22:40:17 +0200
commit1ae5b9e0c7aa95adf8d99ab7151888fc2b18c825 (patch)
tree8e0a45cd0ce5eaa276952a74edb19865d073e8f2 /app/src/main/res/layout
parentebdad2dc48399c0bdf8362b7da7d24eb4d8d70b2 (diff)
Updated login screen design (gradient and other cool things)
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/activity_login.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/src/main/res/layout/activity_login.xml b/app/src/main/res/layout/activity_login.xml
index ff0a08b..9e7d237 100644
--- a/app/src/main/res/layout/activity_login.xml
+++ b/app/src/main/res/layout/activity_login.xml
@@ -3,7 +3,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:gravity="center_horizontal"
+ android:gravity="center_vertical|center_horizontal"
android:orientation="vertical"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
@@ -23,7 +23,7 @@
<ScrollView
android:id="@+id/login_form"
android:layout_width="match_parent"
- android:layout_height="match_parent">
+ android:layout_height="wrap_content">
<LinearLayout
android:id="@+id/email_login_form"
@@ -66,10 +66,11 @@
<Button
android:id="@+id/email_sign_in_button"
- style="?android:textAppearanceSmall"
+ style="@style/Widget.AppCompat.Button.Colored"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
+ android:background="@drawable/gradient_button"
android:text="@string/action_sign_in"
android:textStyle="bold" />