1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Android: Add option to change background color and fix system bar regression

This commit is contained in:
Anish Mishra
2025-07-12 22:16:29 +05:30
parent 967e2d499a
commit 0506299c21
5 changed files with 54 additions and 6 deletions

View File

@@ -598,6 +598,9 @@
<member name="permissions/write_user_dictionary" type="bool" setter="" getter="">
Allows an application to write to the user dictionary.
</member>
<member name="screen/background_color" type="Color" setter="" getter="">
The background color used for the root window. Default is [code]black[/code].
</member>
<member name="screen/edge_to_edge" type="bool" setter="" getter="">
If [code]true[/code], this makes the navigation and status bars translucent and allows the application content to extend edge to edge.
[b]Note:[/b] You should ensure that none of the application content is occluded by system elements by using the [method DisplayServer.get_display_safe_area] and [method DisplayServer.get_display_cutouts] methods.