SDL: Fix initial window size and fullscreen toggle behaviour across APIs

From 8fd4bf5d83fe2aa12c2667168db6afb9bc16cfe9 Mon Sep 17 00:00:00 2001
From: Anthony <[EMAIL REDACTED]>
Date: Sun, 2 Aug 2026 17:18:35 +0100
Subject: [PATCH] Fix initial window size and fullscreen toggle behaviour
 across APIs

---
 android-project/app/src/main/res/values/styles.xml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/android-project/app/src/main/res/values/styles.xml b/android-project/app/src/main/res/values/styles.xml
index 7456b1b3346ac..43b6841741a24 100644
--- a/android-project/app/src/main/res/values/styles.xml
+++ b/android-project/app/src/main/res/values/styles.xml
@@ -1,7 +1,10 @@
 <?xml version="1.0" encoding="utf-8"?>
 <resources>
     <!-- Base application theme. -->
-    <style name="AppTheme" parent="android:Theme.NoTitleBar.Fullscreen">
-        <!-- Customize your theme here. -->
+    <style name="AppTheme" parent="android:Theme.NoTitleBar">
+    <!-- Allow drawing under status & nav bars -->
+    <item name="android:windowDrawsSystemBarBackgrounds">true</item>
+    <item name="android:statusBarColor">@android:color/transparent</item>
+    <item name="android:navigationBarColor">@android:color/transparent</item>
     </style>
 </resources>