Error colors to point to frameworks rather than hard-code them

Rather than have each instance of the system error color hard code
the argb values, they now point to frameworks/base/core/res.

Change-Id: Ia203ff6966cd58a3bc23eb883460f0f8abb050f5
Fixes: 30021554
This commit is contained in:
Matthew Fritze
2016-07-19 13:13:41 -07:00
parent 6e446a5f38
commit 43f762a026
2 changed files with 4 additions and 2 deletions

View File

@@ -74,6 +74,8 @@
<drawable name="input_method_fullscreen_background">#fff9f9f9</drawable>
<color name="input_method_navigation_guard">#ff000000</color>
<color name="system_error">#fff4511e</color> <!-- deep orange 600 -->
<!-- For date picker widget -->
<drawable name="selected_day_background">#ff0092f4</drawable>
@@ -118,7 +120,7 @@
<!-- LockPatternView -->
<color name="lock_pattern_view_regular_color">#ffffffff</color>
<color name="lock_pattern_view_success_color">#ffffffff</color>
<color name="lock_pattern_view_error_color">#fff4511e</color>
<color name="lock_pattern_view_error_color">@color/system_error</color>
<!-- FaceLock -->
<color name="facelock_spotlight_mask">#CC000000</color>

View File

@@ -30,7 +30,7 @@
<color name="batterymeter_charge_color">#FFFFFFFF</color>
<color name="batterymeter_bolt_color">#FFFFFFFF</color>
<color name="qs_batterymeter_frame_color">#FF404040</color>
<color name="system_warning_color">#fff4511e</color><!-- deep orange 600 -->
<color name="system_warning_color">@*android:color/system_error</color>
<color name="qs_text">#FFFFFFFF</color>
<color name="qs_tile_divider">#29ffffff</color><!-- 16% white -->
<color name="qs_subhead">#99FFFFFF</color><!-- 60% white -->