Splash screen generated by OS doesn't paint in bla...
# compose
p
Splash screen generated by OS doesn't paint in black when OS dark theme is enabled. Has anyone disscovered how to solve this? It should be dark, not white, like almost everything in dark theme. To clarify, I'm not talking about a custom splash developed with
Splash API
, I'm talking about the default and automatic splash that the OS adds to your app. For some reason, is ignoring dark theme, and as it is generated and managed by the OS, it should be dark.
not kotlin but kotlin colored 1
s
Does not look like a compose question
☝🏼 1
☝🏻 1
r
The default window used to launch app uses whatever is declared in your (XML) theme
p
great, thank you Romain, I created a new theme.xml with "night" qualifier, and I wrote that app theme must extend from "android:Theme.Material.NoActionBar" instead of "android:Theme.Material.Light.NoActionBar"
and now it works!
great!
the only thing still is white on my app, is when google maps loads the map. I aplied the night style to google maps, the one you can download from the docs, but even with that, when google maps is loading the map, displays a white placeholder for the entire map
maybe do you know a similar trick for solving that?
I'm using the json for dark theme style in maps offered here: https://developers.google.com/maps/documentation/android-sdk/styling#raw-resource