mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
Backport splash screen to API 26 (#2747)
This commit is contained in:
parent
e9a03e5658
commit
69841ebd59
8 changed files with 86 additions and 4 deletions
|
|
@ -16,4 +16,5 @@
|
|||
-->
|
||||
<resources>
|
||||
<color name="ic_launcher_background">#67ea94</color>
|
||||
<color name="ic_splash">#000000</color>
|
||||
</resources>
|
||||
|
|
|
|||
|
|
@ -15,8 +15,20 @@
|
|||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
<resources>
|
||||
<resources xmlns:tools="http://schemas.android.com/tools">
|
||||
|
||||
<style name="AppTheme" parent="Theme.Material3.DynamicColors.DayNight.NoActionBar"/>
|
||||
<!-- Shim in the system UI overrides -->
|
||||
<style name="SplashTheme.NightAdjusted" parent="Theme.SplashScreen">
|
||||
<item name="android:windowLightStatusBar">true</item>
|
||||
<item name="android:windowLightNavigationBar" tools:targetApi="27">true</item>
|
||||
<item name="windowSplashScreenBackground">#FFFFFF</item>
|
||||
</style>
|
||||
|
||||
<style name="SplashTheme" parent="SplashTheme.NightAdjusted">
|
||||
<item name="windowSplashScreenAnimatedIcon">@drawable/ic_splash</item>
|
||||
<item name="postSplashScreenTheme">@style/AppTheme</item>
|
||||
</style>
|
||||
|
||||
<style name="AppTheme" parent="Theme.Material3.DynamicColors.DayNight.NoActionBar" />
|
||||
|
||||
</resources>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue