From 96517903acca9f123c116c0021d2de0864d71fb3 Mon Sep 17 00:00:00 2001 From: Preyea Regmi Date: Mon, 17 Jun 2019 11:51:29 +0545 Subject: [PATCH] Splash view scaled properly --- .idea/caches/build_file_checksums.ser | Bin 662 -> 662 bytes app/build.gradle | 2 +- .../res/layout/activity_splash_screen.xml | 4 +- .../layout/activity_splash_screen_key_1.xml | 54 +++++++++--------- .../layout/activity_splash_screen_key_2.xml | 48 ++++++++-------- .../layout/fragment_splash_avd_viewpager.xml | 14 ++--- 6 files changed, 61 insertions(+), 61 deletions(-) diff --git a/.idea/caches/build_file_checksums.ser b/.idea/caches/build_file_checksums.ser index 47a7f734d2cfaf94da86ed4472e73bacebc53a03..d4efee0caef98987ab4451254dae75e0611f3540 100644 GIT binary patch delta 33 rcmV++0N($W1(pSnm;__H%=NLH=>ZXLS*P6;(^+}m72fAr^N3e?51bI` delta 33 pcmbQnI*oP03>NPU)+-z5ykry%o6dD2KmQzuWpbzc%lGNg6#(GV4k!Qs diff --git a/app/build.gradle b/app/build.gradle index 3f4ec479..2f3eedf9 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -139,7 +139,6 @@ dependencies { implementation 'com.github.bumptech.glide:glide:3.8.0' implementation 'com.squareup.picasso:picasso:2.71828' implementation 'com.leavjenn.smoothdaterangepicker:library:0.2.0' - implementation 'com.github.kapilmhr:SizesDP:1.1' implementation 'de.hdodenhof:circleimageview:2.2.0' implementation 'com.jakewharton:butterknife:8.8.1' annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1' @@ -156,5 +155,6 @@ dependencies { implementation 'com.mtramin:rxfingerprint:2.2.1' implementation project(':securitykeypad') implementation project(path: ':SpinnerDatePickerLib-release') + implementation 'com.intuit.sdp:sdp-android:1.0.6' } apply plugin: 'com.google.gms.google-services' diff --git a/app/src/main/res/layout/activity_splash_screen.xml b/app/src/main/res/layout/activity_splash_screen.xml index 81efb333..9baed019 100644 --- a/app/src/main/res/layout/activity_splash_screen.xml +++ b/app/src/main/res/layout/activity_splash_screen.xml @@ -22,14 +22,14 @@ android:id="@+id/layoutDots" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_marginBottom="@dimen/_20kdp" + android:layout_marginBottom="@dimen/_20sdp" android:gravity="center" android:orientation="horizontal" /> diff --git a/app/src/main/res/layout/activity_splash_screen_key_1.xml b/app/src/main/res/layout/activity_splash_screen_key_1.xml index 07472ada..d64e3851 100644 --- a/app/src/main/res/layout/activity_splash_screen_key_1.xml +++ b/app/src/main/res/layout/activity_splash_screen_key_1.xml @@ -12,10 +12,10 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:adjustViewBounds="false" - android:paddingBottom="16dp" - android:paddingEnd="10dp" - android:paddingStart="16dp" - android:paddingTop="26dp" + android:paddingBottom="@dimen/_16sdp" + android:paddingEnd="@dimen/_10sdp" + android:paddingStart="@dimen/_16sdp" + android:paddingTop="@dimen/_26sdp" android:scaleType="center" android:src="@drawable/ic_back_white" android:alpha="0" @@ -24,11 +24,11 @@