1
0
mirror of https://gitlab.shinice.net/pixeldroid/PixelDroid synced 2024-12-28 07:50:41 +01:00

Fix crash on older Android versions due to cutout

This commit is contained in:
Matthieu 2024-01-03 12:33:10 +01:00
parent 49ec982464
commit b975a255f9
2 changed files with 2 additions and 34 deletions

View File

@ -1,5 +1,4 @@
<resources xmlns:tools="http://schemas.android.com/tools">
<resources>
<!-- Splash screen theme. -->
<style name="Theme.App.Starting" parent="Theme.SplashScreen">
<!-- Set the splash screen background, animated icon, and animation duration. -->
@ -15,35 +14,4 @@
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
</style>
<style name="AppTheme.PopupOverlay" parent="Theme.Material3.Light" />
<style name="AppTheme.ActionBar.Transparent" parent="Theme.Material3.Dark">
<item name="android:windowLayoutInDisplayCutoutMode" tools:targetApi="o_mr1">always</item>
<item name="colorPrimary">@android:color/transparent</item>
<item name="colorPrimaryDark">@android:color/transparent</item>
<item name="colorPrimaryVariant">@android:color/transparent</item>
<item name="colorAccent">@android:color/transparent</item>
<item name="colorSecondary">@android:color/transparent</item>
<item name="statusBarForeground">@android:color/transparent</item>
<item name="android:statusBarColor">@android:color/transparent</item>
<item name="android:toolbarStyle">@style/ToolbarTransparent</item>
<item name="toolbarStyle">@style/ToolbarTransparent</item>
<item name="android:windowLightStatusBar">true</item>
<item name="statusBarBackground">@android:color/transparent</item>
<item name="android:windowTranslucentStatus">true</item>
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:windowContentOverlay">@null</item>
<item name="android:windowNoTitle">true</item>
<item name="android:backgroundDimEnabled">false</item>
<item name="android:windowDrawsSystemBarBackgrounds">true</item>
<item name="android:navigationBarColor">@android:color/transparent</item>
<item name="android:windowTranslucentNavigation">true</item>
</style>
<style name="ToolbarTransparent" parent="Widget.Material3.Toolbar">
<item name="android:background">@android:color/transparent</item>
<item name="background">@android:color/transparent</item>
</style>
</resources>

@ -1 +1 @@
Subproject commit e143ee98284c7974f468eddd03294fa11b7935f3
Subproject commit a390dc0685eba3dfe18f57fd878f15fda52cc95b