Skip to content

Conversation

@syntaxerror247
Copy link
Member

@syntaxerror247 syntaxerror247 commented May 22, 2025

  • Regenerate the GodotAppMainTheme and GodotAppSplashTheme during Android export. Any manual changes to this style will be cleared and replaced with default theme attributes.

  • Adds a new export option gradle_build/custom_theme_attributes for injecting custom theme attributes directly via the export window, avoiding the need to manually modify themes.xml.

It helps to avoid the issue I metioned in #106709 (comment).

image
According to the attributes shown in the image:

  • The first pair adds <item name="android:windowIsTranslucent">true</item> to the GodotAppMainTheme.
  • In the second pair key is prefixed with [splash], so it adds the attribute to the GodotAppSplashTheme.

@syntaxerror247 syntaxerror247 force-pushed the theme-attributes branch 4 times, most recently from 51c21cd to 529e03d Compare May 23, 2025 04:52
@syntaxerror247 syntaxerror247 requested a review from m4gr3d May 23, 2025 05:07
- Regenerates the `GodotAppMainTheme` and `GodotAppSplashTheme` during Android export. Any manual changes to these styles will be cleared and replaced with default theme attributes.

- Adds a new export option `gradle_build/custom_theme_attributes` for injecting custom theme attributes directly via the export window, avoiding the need to manually modify themes.xml.
@Repiteo Repiteo merged commit 1c151e9 into godotengine:master May 26, 2025
20 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented May 26, 2025

Thanks!

@syntaxerror247 syntaxerror247 deleted the theme-attributes branch May 26, 2025 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants