mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-04-22 23:09:13 +00:00
Use Android color reference for android:colorBackground in AMOLED theme
My best guess is that API 28 and below somehow interpret ``#000000`` to mean either ``@null`` or transparent for ``android:colorBackground``.
This commit is contained in:
parent
f9f37d30b2
commit
3962d50fa6
1 changed files with 4 additions and 2 deletions
|
@ -138,7 +138,8 @@
|
|||
</style>
|
||||
|
||||
<style name="Base.Theme.Aegis.Amoled" parent="Base.Theme.Aegis.Dark">
|
||||
<item name="android:colorBackground">#000000</item>
|
||||
<!-- Setting android:colorBackground to #000000 on API 28 and below causes smearing -->
|
||||
<item name="android:colorBackground">@android:color/black</item>
|
||||
<item name="colorSurface">#000000</item>
|
||||
<item name="colorSurfaceVariant">#000000</item>
|
||||
<item name="colorSurfaceContainerHighest">#000000</item>
|
||||
|
@ -152,7 +153,8 @@
|
|||
</style>
|
||||
|
||||
<style name="ThemeOverlay.Aegis.Dynamic.Amoled" parent="ThemeOverlay.Material3.DynamicColors.Dark">
|
||||
<item name="android:colorBackground">#000000</item>
|
||||
<!-- Setting android:colorBackground to #000000 on API 28 and below causes smearing -->
|
||||
<item name="android:colorBackground">@android:color/black</item>
|
||||
<item name="colorSurface">#000000</item>
|
||||
<item name="colorSurfaceVariant">#000000</item>
|
||||
<item name="colorSurfaceContainerHighest">#000000</item>
|
||||
|
|
Loading…
Add table
Reference in a new issue