Refactor Settings theme colors.
Introduces stock colors (primary_color, primary_dark_color, etc) to allow overriding the colors via resource overlays. Creates new colorSecondary attribute and updates switches to use theme attributes for foreground/background colors rather than hardcoded values. Some other mild color cleanup to make things more straightforward. BUG: 28760785 Change-Id: I4deba962357217bdb2e08c08e8f83b9b57a683d4
This commit is contained in:
@@ -16,6 +16,6 @@
|
||||
|
||||
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:color="?android:attr/colorControlHighlight">
|
||||
<item android:drawable="@color/switchbar_background_color" />
|
||||
<item android:drawable="?attr/colorSecondary" />
|
||||
</ripple>
|
||||
|
||||
|
Reference in New Issue
Block a user