summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorpastychang <pastychang@google.com>2019-06-20 20:56:05 +0800
committerpastychang <pastychang@google.com>2019-06-26 10:58:36 +0800
commitec5ea182c94f4707cb8fe3ad122abe51df11ff44 (patch)
treebd54c8420d669e3693d4b7cf54f5d757392b71cb /main
parenta712571a2d1b532849c4d390f3bfb035e919117d (diff)
downloadsetupdesign-ec5ea182c94f4707cb8fe3ad122abe51df11ff44.tar.gz
Directly modify setupdsign lib in gerrit. There would be a following up CL in g3 to avoid copy more other CLs change in current stage. Bug: 128399555 Test: Manual Change-Id: I311caab87db36e92995807a3a8450234dc64e269
Diffstat (limited to 'main')
-rw-r--r--main/res/values/colors.xml4
-rw-r--r--main/res/values/styles.xml2
2 files changed, 6 insertions, 0 deletions
diff --git a/main/res/values/colors.xml b/main/res/values/colors.xml
index b612b9d..a386eb5 100644
--- a/main/res/values/colors.xml
+++ b/main/res/values/colors.xml
@@ -52,4 +52,8 @@
<color name="sud_glif_v3_nav_bar_color_light">#ffffffff</color>
<color name="sud_glif_v3_nav_bar_divider_color_light">#1f000000</color>
+ <!-- Color for error text -->
+ <color name="sud_color_error_text_light">#ffd93025</color> <!-- Google red 600 -->
+ <color name="sud_color_error_text_dark">#fff28b82</color> <!-- Google red 300 -->
+
</resources>
diff --git a/main/res/values/styles.xml b/main/res/values/styles.xml
index 84ed502..d3d6018 100644
--- a/main/res/values/styles.xml
+++ b/main/res/values/styles.xml
@@ -104,6 +104,7 @@
<item name="android:windowAnimationStyle">@style/Animation.SudWindowAnimation</item>
<item name="android:windowDisablePreview">true</item>
<item name="android:windowSoftInputMode">adjustResize</item>
+ <item name="android:colorError" tools:targetApi="26">@color/sud_color_error_text_dark</item>
<item name="colorAccent">@color/sud_color_accent_glif_dark</item>
<item name="colorPrimary">?attr/colorAccent</item>
@@ -153,6 +154,7 @@
<item name="android:windowAnimationStyle">@style/Animation.SudWindowAnimation</item>
<item name="android:windowDisablePreview">true</item>
<item name="android:windowSoftInputMode">adjustResize</item>
+ <item name="android:colorError" tools:targetApi="26">@color/sud_color_error_text_light</item>
<item name="colorAccent">@color/sud_color_accent_glif_light</item>
<item name="colorPrimary">?attr/colorAccent</item>