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
Stylianos Gakis
03/11/2025, 6:51 PM
Does not look like a compose question
☝🏼 1
☝🏻 1
r
romainguy
03/11/2025, 7:19 PM
The default window used to launch app uses whatever is declared in your (XML) theme
p
Pablo
03/11/2025, 7:28 PM
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"
Pablo
03/11/2025, 7:28 PM
and now it works!
Pablo
03/11/2025, 7:28 PM
great!
Pablo
03/11/2025, 7:29 PM
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
Pablo
03/11/2025, 7:29 PM
maybe do you know a similar trick for solving that?