diff options
author | Marvin Borner | 2018-07-24 22:40:17 +0200 |
---|---|---|
committer | Marvin Borner | 2018-07-24 22:40:17 +0200 |
commit | 1ae5b9e0c7aa95adf8d99ab7151888fc2b18c825 (patch) | |
tree | 8e0a45cd0ce5eaa276952a74edb19865d073e8f2 /app/src/main | |
parent | ebdad2dc48399c0bdf8362b7da7d24eb4d8d70b2 (diff) |
Updated login screen design (gradient and other cool things)
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/res/layout/activity_login.xml | 7 | ||||
-rw-r--r-- | app/src/main/res/values/colors.xml | 4 |
2 files changed, 6 insertions, 5 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" /> diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 3ab3e9c..58e3556 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <resources> <color name="colorPrimary">#3F51B5</color> - <color name="colorPrimaryDark">#303F9F</color> - <color name="colorAccent">#FF4081</color> + <color name="colorPrimaryDark">#283593</color> + <color name="colorAccent">#E91E63</color> </resources> |