From efa6e7aece0675a319954b293803a0c78c9d8299 Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Tue, 21 Jan 2025 20:20:17 +0100
Subject: [PATCH] android: add style to test apk's
---
test/android/cmake/AndroidManifest.xml.cmake | 4 ++--
test/android/res/values/styles.xml | 7 +++++++
2 files changed, 9 insertions(+), 2 deletions(-)
create mode 100644 test/android/res/values/styles.xml
diff --git a/test/android/cmake/AndroidManifest.xml.cmake b/test/android/cmake/AndroidManifest.xml.cmake
index a9fc3d5688508..06d87af96cab0 100644
--- a/test/android/cmake/AndroidManifest.xml.cmake
+++ b/test/android/cmake/AndroidManifest.xml.cmake
@@ -43,8 +43,8 @@
android:roundIcon="@mipmap/sdl-test_round"
android:label="@string/label"
android:supportsRtl="true"
- android:hardwareAccelerated="true"
- tools:targetApi="31">
+ android:theme="@style/AppTheme"
+ android:hardwareAccelerated="true">
<activity
android:name="@ANDROID_MANIFEST_PACKAGE@.SDLTestActivity"
android:exported="true"
diff --git a/test/android/res/values/styles.xml b/test/android/res/values/styles.xml
new file mode 100644
index 0000000000000..7456b1b3346ac
--- /dev/null
+++ b/test/android/res/values/styles.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <!-- Base application theme. -->
+ <style name="AppTheme" parent="android:Theme.NoTitleBar.Fullscreen">
+ <!-- Customize your theme here. -->
+ </style>
+</resources>