mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 10:01:15 +00:00
Merge pull request #106709 from m4gr3d/fix_transparency_flags
Fix transparency background issue on Android
This commit is contained in:
commit
ae33da972b
11 changed files with 61 additions and 14 deletions
|
|
@ -70,6 +70,7 @@
|
|||
android:launchMode="singleTask"
|
||||
android:process=":GodotGame"
|
||||
android:autoRemoveFromRecents="true"
|
||||
android:theme="@style/GodotGameTheme"
|
||||
android:supportsPictureInPicture="true"
|
||||
android:screenOrientation="userLandscape">
|
||||
<layout
|
||||
|
|
|
|||
|
|
@ -2,10 +2,14 @@
|
|||
<resources>
|
||||
<style name="GodotEditorTheme" parent="@android:style/Theme.DeviceDefault.NoActionBar.Fullscreen">
|
||||
<item name="android:statusBarColor">@android:color/transparent</item>
|
||||
<item name ="android:navigationBarColor">@android:color/transparent</item>
|
||||
<item name="android:navigationBarColor">@android:color/transparent</item>
|
||||
<item name="android:windowOptOutEdgeToEdgeEnforcement">true</item>
|
||||
</style>
|
||||
|
||||
<style name="GodotGameTheme" parent="GodotEditorTheme">
|
||||
<item name="android:windowIsTranslucent">true</item>
|
||||
</style>
|
||||
|
||||
<style name="GodotEditorSplashScreenTheme" parent="Theme.SplashScreen.IconBackground">
|
||||
<!-- Set the theme of the Activity that directly follows your splash
|
||||
screen. This is required. -->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue