From 1c23e53ed7811a004e956c99262e6bc24e11a627 Mon Sep 17 00:00:00 2001 From: CappielloAntonio Date: Mon, 30 Aug 2021 09:03:52 +0200 Subject: [PATCH] Removal of the splash screen because it causes some crashes when rotating the device --- app/build.gradle | 2 +- app/src/main/AndroidManifest.xml | 2 +- .../com/cappielloantonio/play/ui/activity/MainActivity.java | 3 --- app/src/main/res/values-night/styles.xml | 6 ------ app/src/main/res/values/styles.xml | 6 ------ build.gradle | 2 +- 6 files changed, 3 insertions(+), 18 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index c50b17c5..3f08bbce 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -51,7 +51,7 @@ dependencies { implementation 'com.google.android.material:material:1.4.0' // Splashscreen - implementation 'androidx.core:core-splashscreen:1.0.0-alpha01' + // implementation 'androidx.core:core-splashscreen:1.0.0-alpha01' // SearchBar implementation "com.paulrybitskyi.persistentsearchview:persistentsearchview:1.1.3" diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index e2181bd7..c2a9ca64 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -12,7 +12,7 @@ android:label="@string/app_name" android:roundIcon="@mipmap/ic_launcher" android:supportsRtl="true" - android:theme="@style/Theme.App.Starting" + android:theme="@style/AppTheme" android:usesCleartextTraffic="true" android:allowBackup="false"> - - -