Add colors to tiles
Protoype for modifying color of tiles. Provides 2 modes: qs_color_enabled: allows changing background of tiles qs_color_icon: allows changing color of icon (only use with qs_color_enabled) Enable using: adb shell settings put system <name> <value> where name is one of (qs_color_enabled|qs_color_icon) and value is (0|1) With qs_color_enabled, color of individual tiles can be changed using adb shell settings put system qs_color_enabled/<spec> <color> where spec is as defined in QSFactoryImpl and color is one of (red|green|blue|yellow|accent). Test: manual Change-Id: I66096cfa5cb8570074b1547ca3e41bd0888973fa
This commit is contained in:
@@ -83,4 +83,9 @@
|
||||
<color name="biometric_dialog_accent">#ff80cbc4</color> <!-- light teal -->
|
||||
<color name="biometric_dialog_error">#fff28b82</color> <!-- red 300 -->
|
||||
|
||||
<color name="GM2_green_500">#FF41Af6A</color>
|
||||
<color name="GM2_blue_500">#5195EA</color>
|
||||
<color name="GM2_red_500">#E25142</color>
|
||||
<color name="GM2_yellow_500">#F5C518</color>
|
||||
|
||||
</resources>
|
||||
|
||||
@@ -204,4 +204,6 @@
|
||||
|
||||
<color name="GM2_yellow_500">#FFFBBC04</color>
|
||||
<color name="GM2_green_500">#FF34A853</color>
|
||||
<color name="GM2_blue_500">#FF4285F4</color>
|
||||
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user