@@ -2176,11 +2176,11 @@ void EditorExportPlatformAndroid::get_export_options(List<ExportOption> *r_optio
21762176 r_options->push_back (ExportOption (PropertyInfo (Variant::BOOL, " gesture/swipe_to_dismiss" ), false ));
21772177
21782178 r_options->push_back (ExportOption (PropertyInfo (Variant::BOOL, " screen/immersive_mode" ), true ));
2179+ r_options->push_back (ExportOption (PropertyInfo (Variant::BOOL, " screen/edge_to_edge" ), false ));
21792180 r_options->push_back (ExportOption (PropertyInfo (Variant::BOOL, " screen/support_small" ), true ));
21802181 r_options->push_back (ExportOption (PropertyInfo (Variant::BOOL, " screen/support_normal" ), true ));
21812182 r_options->push_back (ExportOption (PropertyInfo (Variant::BOOL, " screen/support_large" ), true ));
21822183 r_options->push_back (ExportOption (PropertyInfo (Variant::BOOL, " screen/support_xlarge" ), true ));
2183- r_options->push_back (ExportOption (PropertyInfo (Variant::BOOL, " screen/edge_to_edge" ), false ));
21842184 r_options->push_back (ExportOption (PropertyInfo (Variant::COLOR, " screen/background_color" , PROPERTY_HINT_COLOR_NO_ALPHA), Color ()));
21852185
21862186 r_options->push_back (ExportOption (PropertyInfo (Variant::BOOL, " user_data_backup/allow" ), false ));
@@ -3103,6 +3103,9 @@ void EditorExportPlatformAndroid::get_command_line_flags(const Ref<EditorExportP
31033103 }
31043104
31053105 String background_color = " #" + p_preset->get (" screen/background_color" ).operator Color ().to_html (false );
3106+
3107+ // For Gradle build, _fix_themes_xml() sets background to transparent if _is_transparency_allowed().
3108+ // Overriding to transparent here too as it's used as fallback for system bar appearance.
31063109 if (_is_transparency_allowed (p_preset) && p_preset->get (" gradle_build/use_gradle_build" )) {
31073110 background_color = " #00000000" ;
31083111 }
0 commit comments