From e9602f5bb2496d2ca2d8f8fed8937a19a65d8ee7 Mon Sep 17 00:00:00 2001 From: knightshade Date: Mon, 26 Feb 2018 07:32:20 +0530 Subject: [PATCH 1/2] Update roboectric. --- app/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index c021e28ac..6f225dc2f 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -49,7 +49,7 @@ dependencies { compile 'com.facebook.stetho:stetho:1.5.0' testCompile 'junit:junit:4.12' - testCompile 'org.robolectric:robolectric:3.4' + testCompile 'org.robolectric:robolectric:3.7.1' testCompile 'com.squareup.okhttp3:mockwebserver:3.8.1' androidTestCompile 'com.squareup.okhttp3:mockwebserver:3.8.1' @@ -78,7 +78,7 @@ dependencies { androidTestImplementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version" testImplementation 'junit:junit:4.12' - testImplementation 'org.robolectric:robolectric:3.4' + testImplementation 'org.robolectric:robolectric:3.7.1' testImplementation 'org.mockito:mockito-all:1.10.19' testImplementation 'com.squareup.okhttp3:mockwebserver:3.8.1' From 541976cdfff00ab134c4b89ad195c7deb4cec46d Mon Sep 17 00:00:00 2001 From: knightshade Date: Mon, 26 Feb 2018 08:39:38 +0530 Subject: [PATCH 2/2] login_credentials textview added to landscape and x-large activity_login.xml --- .../main/res/layout-land/activity_login.xml | 42 +++++++++++++------ .../main/res/layout-xlarge/activity_login.xml | 36 +++++++++++----- app/src/main/res/layout/activity_login.xml | 30 ++++++------- 3 files changed, 71 insertions(+), 37 deletions(-) diff --git a/app/src/main/res/layout-land/activity_login.xml b/app/src/main/res/layout-land/activity_login.xml index 9ecaf9855..a87084f66 100644 --- a/app/src/main/res/layout-land/activity_login.xml +++ b/app/src/main/res/layout-land/activity_login.xml @@ -13,12 +13,12 @@ @@ -40,11 +40,26 @@ android:textColor="@android:color/white" android:textSize="@dimen/heading_text_size" /> + + @@ -56,6 +71,7 @@ android:layout_marginLeft="@dimen/standard_gap" android:layout_marginRight="@dimen/standard_gap" android:layout_marginStart="@dimen/standard_gap" + android:gravity="center" android:paddingBottom="@dimen/small_gap" android:paddingTop="@dimen/small_gap" android:textColor="@color/secondaryDarkColor" @@ -149,8 +165,8 @@