SplashScreen: use Androidx library.

Improvement for Android 12+.
Fixes #1365.
This commit is contained in:
Dennis Guse
2022-08-28 15:50:20 +02:00
parent 5a4919efd2
commit c3b30815c8
6 changed files with 45 additions and 24 deletions
+5 -4
View File
@@ -59,10 +59,11 @@ limitations under the License.
<item name="indicatorColor">?attr/colorSecondary</item>
</style>
<style name="SplashTheme" parent="ThemeCustom">
<item name="android:statusBarColor">@color/splashscreen_background</item>
<item name="android:navigationBarColor">@color/splashscreen_background</item>
<item name="android:windowBackground">@drawable/splashscreen</item>
<style name="SplashTheme" parent="Theme.SplashScreen">
<item name="windowSplashScreenBackground">@color/splashscreen_background</item>
<item name="windowSplashScreenAnimatedIcon">@drawable/ic_logo_color_splashscreen</item>
<item name="postSplashScreenTheme">@style/ThemeCustom</item>
</style>
<style name="Widget.OpenTracks.FloatingActionButton" parent="Widget.MaterialComponents.FloatingActionButton">