Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / watch-wear / src / main / res / values / themes.xml
themes.xml15 lines · 951 BRaw
| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <resources> |
| 3 | <!-- Watch app theme: same parent as before, plus the shared custom-splash |
| 4 | recipe (this module cannot inherit :library's Theme.General): the |
| 5 | app's own launcher icon centred on the (dark) window background, |
| 6 | removed as soon as the first frame is ready. minSdk 30 means the |
| 7 | Android 12+ splash attrs are simply unused on API 30, where the |
| 8 | system draws its default starting window instead. --> |
| 9 | <style name="Theme.WatchWear" parent="android:Theme.Material.NoActionBar"> |
| 10 | <item name="android:windowSplashScreenBackground">?android:attr/colorBackground</item> |
| 11 | <item name="android:windowSplashScreenAnimatedIcon">@mipmap/ic_launcher</item> |
| 12 | <item name="android:windowSplashScreenIconBackgroundColor">@android:color/transparent</item> |
| 13 | <item name="android:windowSplashScreenAnimationDuration">0</item> |
| 14 | </style> |
| 15 | </resources> |