소스 검색

android: add style to test apk's

Anonymous Maarten 2 달 전
부모
커밋
efa6e7aece
2개의 변경된 파일9개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      test/android/cmake/AndroidManifest.xml.cmake
  2. 7 0
      test/android/res/values/styles.xml

+ 2 - 2
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"

+ 7 - 0
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>