Merge pull request #1326 from alexbakker/fix-1325

Use Android color reference for android:colorBackground in AMOLED theme
This commit is contained in:
Michael Schättgen 2024-03-24 20:00:05 +01:00 committed by GitHub
commit ec617e0c94
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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>