mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-04-24 07:46:07 +00:00
Merge pull request #1326 from alexbakker/fix-1325
Use Android color reference for android:colorBackground in AMOLED theme
This commit is contained in:
commit
ec617e0c94
1 changed files with 4 additions and 2 deletions
|
@ -138,7 +138,8 @@
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="Base.Theme.Aegis.Amoled" parent="Base.Theme.Aegis.Dark">
|
<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="colorSurface">#000000</item>
|
||||||
<item name="colorSurfaceVariant">#000000</item>
|
<item name="colorSurfaceVariant">#000000</item>
|
||||||
<item name="colorSurfaceContainerHighest">#000000</item>
|
<item name="colorSurfaceContainerHighest">#000000</item>
|
||||||
|
@ -152,7 +153,8 @@
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="ThemeOverlay.Aegis.Dynamic.Amoled" parent="ThemeOverlay.Material3.DynamicColors.Dark">
|
<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="colorSurface">#000000</item>
|
||||||
<item name="colorSurfaceVariant">#000000</item>
|
<item name="colorSurfaceVariant">#000000</item>
|
||||||
<item name="colorSurfaceContainerHighest">#000000</item>
|
<item name="colorSurfaceContainerHighest">#000000</item>
|
||||||
|
|
Loading…
Add table
Reference in a new issue