mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
add splash screen
This commit is contained in:
parent
a0d00a4287
commit
239a22c1bc
4 changed files with 19 additions and 1 deletions
|
|
@ -73,4 +73,18 @@
|
|||
<item name="materialThemeOverlay">@style/MyThemeOverlay_Toolbar</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.App.Starting" parent="Theme.SplashScreen">
|
||||
// Set the splash screen background, animated icon, and animation duration.
|
||||
<item name="windowSplashScreenBackground">@color/selectedColor</item>
|
||||
|
||||
// Use windowSplashScreenAnimatedIcon to add either a drawable or an
|
||||
// animated drawable. One of these is required.
|
||||
<item name="windowSplashScreenAnimatedIcon">@drawable/ic_launcher2_foreground</item>
|
||||
<item name="windowSplashScreenAnimationDuration">1000</item> # Required for
|
||||
# animated icons
|
||||
|
||||
// Set the theme of the Activity that directly follows your splash screen.
|
||||
<item name="postSplashScreenTheme">@style/AppTheme</item> # Required.
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue