kivy / buildozer

Generic Python packager for Android and iOS
https://buildozer.readthedocs.io
MIT License
1.75k stars 503 forks source link

android.presplash_color leaving the bottom navigation bar white #1870

Open alexg93333 opened 2 months ago

alexg93333 commented 2 months ago
# (string) Presplash background color (for android toolchain)
# Supported formats are: #RRGGBB #AARRGGBB or one of the following names:
# red, blue, green, black, white, gray, cyan, magenta, yellow, lightgray,
# darkgray, grey, lightgrey, darkgrey, aqua, fuchsia, lime, maroon, navy,
# olive, purple, silver, teal.
android.presplash_color = #000000

This changes the background of the kivy loading screen to black, but the navigation bar stays white at the beginning.

https://gyazo.com/9d5b3c0a4024fcfee6d86de97aa5b3f3

I set the bar color to red in my main.py to demonstrate that the white background is set before any python code execution.

https://gyazo.com/1007a063d38296cd97e08a8372f9fadf

alexg93333 commented 2 months ago

I found out that it's due to the LAUNCH activity using the Style "KivySupportCutout". I unpacked the apk, changed the style in styles.xml, repacked, and now it works as intended.

Is there no way to modify the Style KivySupportCutout through buildozer without unpacking the apk ?