mirror of
https://github.com/atsunatsu/Look4Sat.git
synced 2026-10-04 11:37:22 +00:00
Switched to SplashScreen API
This commit is contained in:
1 parent
8c7e2c9bb0
commit
09f35579dc
7 files changed
+10
-13
No files matched your search
File renamed without changes.
@@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:opacity="opaque">
|
||||
<item android:drawable="@drawable/ic_launcher_background" />
|
||||
<item
|
||||
android:drawable="@drawable/splash_foreground"
|
||||
android:gravity="center" />
|
||||
</layer-list>
|
||||
@@ -1,10 +1,12 @@
|
||||
<resources>
|
||||
|
||||
<style name="AppTheme.Splash" parent="AppTheme">
|
||||
<item name="android:windowBackground">@drawable/splash_drawable</item>
|
||||
<style name="Theme.Look4Sat.SplashScreen" parent="Theme.SplashScreen">
|
||||
<item name="windowSplashScreenBackground">@color/greyDark</item>
|
||||
<item name="windowSplashScreenAnimatedIcon">@drawable/ic_splash_drawable</item>
|
||||
<item name="postSplashScreenTheme">@style/Theme.Look4Sat.Main</item>
|
||||
</style>
|
||||
|
||||
<style name="AppTheme" parent="Theme.MaterialComponents.NoActionBar">
|
||||
<style name="Theme.Look4Sat.Main" parent="Theme.MaterialComponents.NoActionBar">
|
||||
<item name="colorPrimary">@color/themeLight</item>
|
||||
<item name="colorSecondary">@color/themeLight</item>
|
||||
<item name="colorPrimaryVariant">@color/themeDark</item>
|
||||
|
||||
Reference in new issue
Block a user