From 234356f8f2625fa108d4675860c09869dd2d8478 Mon Sep 17 00:00:00 2001 From: Rohan Babbar <77425744+rohanbabbar04@users.noreply.github.com> Date: Sat, 2 Oct 2021 17:14:41 +0530 Subject: [PATCH] Modified to Android 12 Splash Screen (#430) --- app/build.gradle | 8 ++++++-- app/src/main/AndroidManifest.xml | 5 +++-- .../main/java/protect/card_locker/MainActivity.java | 4 ++-- app/src/main/res/drawable/background_splash.xml | 7 ------- app/src/main/res/values/styles.xml | 10 ++++++++-- 5 files changed, 19 insertions(+), 15 deletions(-) delete mode 100644 app/src/main/res/drawable/background_splash.xml diff --git a/app/build.gradle b/app/build.gradle index 36da9ae96..af4d812be 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -16,7 +16,7 @@ android { defaultConfig { applicationId "me.hackerchick.catima" - minSdkVersion 19 + minSdkVersion 21 targetSdkVersion 31 versionCode 84 versionName "2.6.1" @@ -80,14 +80,18 @@ android { dependencies { // AndroidX + implementation "androidx.multidex:multidex:2.0.1" implementation 'androidx.appcompat:appcompat:1.3.1' implementation 'androidx.cardview:cardview:1.0.0' - implementation 'androidx.constraintlayout:constraintlayout:2.1.0' + implementation 'androidx.constraintlayout:constraintlayout:2.1.1' implementation 'androidx.exifinterface:exifinterface:1.3.3' implementation 'androidx.preference:preference:1.1.1' implementation 'com.google.android.material:material:1.4.0' coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5' +// Splash Screen + implementation 'androidx.core:core-splashscreen:1.0.0-alpha02' + // Third-party implementation 'com.journeyapps:zxing-android-embedded:4.1.0@aar' implementation 'com.google.zxing:core:3.4.1' diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index f971357f5..3602f9e97 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -17,7 +17,7 @@ android:name="android.hardware.camera.autofocus" android:required="false" /> - + @@ -37,6 +37,7 @@ + - - - \ No newline at end of file diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 6f865763d..e713dd11d 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -82,8 +82,14 @@ true -