Cotton code
17 lines · 1.0 KB · HTMLRaw
<?xml version="1.0" encoding="utf-8"?><resources>    <!-- The window before the first frame: the app's ground colour (`ground`, each app's resValue from app/flavours.json). -->    <style name="Theme.Cotton" parent="android:Theme.Material.Light.NoActionBar">        <item name="android:windowBackground">@color/ground</item>        <item name="android:statusBarColor">@android:color/transparent</item>        <item name="android:navigationBarColor">@android:color/transparent</item>    </style>    <!-- The launch screen (the SplashScreen API; ShellActivity installs it): the iPhone launch storyboard's ground and         the app's object cut out of its icon, both drawn by the build from the flavour's launch layers (LaunchPictures). -->    <style name="Theme.Cotton.Launch" parent="Theme.SplashScreen">        <item name="windowSplashScreenBackground">@color/launch_ground</item>        <item name="windowSplashScreenAnimatedIcon">@drawable/launch_object</item>        <item name="postSplashScreenTheme">@style/Theme.Cotton</item>    </style></resources>