ui: fix material issues

Migrate dividers over to material theming alongside making detail items
use a colorStateList instead of manually indexing for text colors.
This commit is contained in:
OxygenCobalt
2021-09-04 19:31:28 -06:00
parent 23e3c0241d
commit 34367b3bae
28 changed files with 41 additions and 62 deletions
+2 -2
View File
@@ -12,7 +12,7 @@
<!-- Toolbar popup menu -->
<style name="ThemeOverlay.ToolbarPopup" parent="ThemeOverlay.AppCompat.DayNight">
<item name="android:colorBackground">?attr/colorSurface</item>
<item name="colorControlHighlight">@color/selection</item>
<item name="colorControlHighlight">@color/overlay_selection</item>
</style>
<!-- Base custom dialog theme. Don't try to understand this. -->
@@ -31,7 +31,7 @@
<!-- Normal DayNight dialog theme -->
<style name="Theme.CustomDialog" parent="Theme.CustomDialog.Base">
<item name="colorSurface">@color/surface</item>
<item name="colorControlHighlight">@color/selection</item>
<item name="colorControlHighlight">@color/overlay_selection</item>
</style>
<!-- Black theme dialog theme -->