first commit
This commit is contained in:
25
lastochka-android-compose/app/src/main/res/values/themes.xml
Normal file
25
lastochka-android-compose/app/src/main/res/values/themes.xml
Normal file
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources xmlns:tools="http://schemas.android.com/tools">
|
||||
|
||||
<!-- Splash Screen theme (Android 12+) -->
|
||||
<style name="Theme.App.Starting" parent="Theme.SplashScreen">
|
||||
<item name="windowSplashScreenBackground">@color/brand_primary</item>
|
||||
<item name="windowSplashScreenAnimatedIcon">@drawable/logo_splash</item>
|
||||
<item name="windowSplashScreenAnimationDuration">800</item>
|
||||
<item name="splashScreenIconSize">96dp</item>
|
||||
<item name="postSplashScreenTheme">@style/Theme.Lаstochka</item>
|
||||
<item name="android:statusBarColor">@color/brand_primary</item>
|
||||
<item name="android:navigationBarColor">@color/brand_primary</item>
|
||||
</style>
|
||||
|
||||
<!-- Main app theme (will be overridden by Compose) -->
|
||||
<style name="Theme.Lаstochka" parent="Theme.MaterialComponents.DayNight.NoActionBar">
|
||||
<item name="colorPrimary">@color/brand_primary</item>
|
||||
<item name="colorPrimaryDark">@color/brand_primary_dark</item>
|
||||
<item name="colorAccent">@color/brand_secondary</item>
|
||||
<item name="android:windowBackground">@color/background</item>
|
||||
<item name="android:statusBarColor">@android:color/transparent</item>
|
||||
<item name="android:navigationBarColor">@android:color/transparent</item>
|
||||
<item name="android:windowLightStatusBar" tools:targetApi="m">true</item>
|
||||
</style>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user