| Index: chrome/android/java/src/org/chromium/chrome/browser/preferences/ExpandablePreferenceGroup.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/preferences/ExpandablePreferenceGroup.java b/chrome/android/java/src/org/chromium/chrome/browser/preferences/ExpandablePreferenceGroup.java
|
| index e550c96e402f5fa8e399d45ed3fd31604a27d15e..f709b6972fc133f8764cc9a1df032419ca494775 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/preferences/ExpandablePreferenceGroup.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/preferences/ExpandablePreferenceGroup.java
|
| @@ -60,6 +60,14 @@ public class ExpandablePreferenceGroup extends PreferenceGroup {
|
| Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
|
| }
|
|
|
| + // Color the first part of the title blue.
|
| + ForegroundColorSpan blueSpan = new ForegroundColorSpan(
|
| + ApiCompatibilityUtils.getColor(getContext().getResources(),
|
| + R.color.pref_accent_color));
|
| + spannable.setSpan(blueSpan, 0, spannable.length() - prefCount.length(),
|
| + Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
|
| +
|
| + // Gray out the total count of items.
|
| int gray = ApiCompatibilityUtils.getColor(getContext().getResources(),
|
| R.color.expandable_group_dark_gray);
|
| spannable.setSpan(new ForegroundColorSpan(gray),
|
|
|