From c9cbfe7f9e9ea317fc08d2666601713862ca051f Mon Sep 17 00:00:00 2001 From: Parth Joshi Date: Sat, 19 May 2018 13:14:37 +0530 Subject: [PATCH] Keyboard hide Bugfix for next/previous quiz question. --- app/src/main/res/layout/activity_sign_in.xml | 12 ++++++------ app/src/main/res/values/dimens.xml | 3 ++- app/src/main/res/values/strings.xml | 2 +- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/app/src/main/res/layout/activity_sign_in.xml b/app/src/main/res/layout/activity_sign_in.xml index d7e9e28a..b5f3118a 100644 --- a/app/src/main/res/layout/activity_sign_in.xml +++ b/app/src/main/res/layout/activity_sign_in.xml @@ -21,7 +21,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerHorizontal="true" - android:layout_marginTop="80dp" + android:layout_marginTop="@dimen/box_regular" android:contentDescription="@string/app_name" android:src="@mipmap/signin_logo" /> @@ -31,7 +31,7 @@ android:layout_height="wrap_content" android:layout_below="@id/sigin_image_logo" android:layout_centerHorizontal="true" - android:layout_marginTop="16dp" + android:layout_marginTop="@dimen/margin_x_large" android:fontFamily="@font/roboto_medium" android:text="@string/sigin_text_almost_there" android:textColor="#90ffffff" /> @@ -40,10 +40,10 @@ android:id="@+id/google_signin_btn" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_below="@id/signin_text_almost_there" - android:layout_marginEnd="32sp" - android:layout_marginStart="32sp" - android:layout_marginTop="100dp"> + android:layout_marginEnd="@dimen/margin_x_large" + android:layout_marginStart="@dimen/margin_x_large" + android:layout_alignParentBottom="true" + android:layout_marginBottom="@dimen/margin_x_large"> diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml index 5ac37d8d..ab4c5530 100755 --- a/app/src/main/res/values/dimens.xml +++ b/app/src/main/res/values/dimens.xml @@ -69,6 +69,7 @@ 8dp 4dp 8dp + 16sp 15sp @@ -128,7 +129,7 @@ 8dp 4dp - //Nav Dimens + 15dp 10dp 50dp diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 9bdcbedb..a5399a67 100755 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -8,7 +8,7 @@ Deadline: - Almost there, Sign In to continue + For Scholars, By Scholars