diff --git a/api/current.txt b/api/current.txt index 17588c7e00931..7f2b1135ea916 100644 --- a/api/current.txt +++ b/api/current.txt @@ -409,6 +409,7 @@ package android { field public static final int colorControlActivated = 16843818; // 0x101042a field public static final int colorControlHighlight = 16843820; // 0x101042c field public static final int colorControlNormal = 16843817; // 0x1010429 + field public static final int colorEdgeEffect = 16843982; // 0x10104ce field public static final int colorFocusedHighlight = 16843663; // 0x101038f field public static final int colorForeground = 16842800; // 0x1010030 field public static final int colorForegroundInverse = 16843270; // 0x1010206 diff --git a/core/java/android/widget/EdgeEffect.java b/core/java/android/widget/EdgeEffect.java index 033b99a22d518..6925756918c4f 100644 --- a/core/java/android/widget/EdgeEffect.java +++ b/core/java/android/widget/EdgeEffect.java @@ -120,7 +120,7 @@ public class EdgeEffect { final TypedArray a = context.obtainStyledAttributes( com.android.internal.R.styleable.EdgeEffect); final int themeColor = a.getColor( - com.android.internal.R.styleable.EdgeEffect_colorPrimary, 0xff666666); + com.android.internal.R.styleable.EdgeEffect_colorEdgeEffect, 0xff666666); a.recycle(); mPaint.setColor((themeColor & 0xffffff) | 0x33000000); mPaint.setStyle(Paint.Style.FILL); diff --git a/core/res/res/values/attrs.xml b/core/res/res/values/attrs.xml index 85c1072c18d72..90217e57a7866 100644 --- a/core/res/res/values/attrs.xml +++ b/core/res/res/values/attrs.xml @@ -1020,6 +1020,9 @@ + + + @@ -7435,7 +7438,7 @@ - + @style/TextAppearance.Holo diff --git a/core/res/res/values/themes_material.xml b/core/res/res/values/themes_material.xml index 615ef52d33173..ebf0571d4115f 100644 --- a/core/res/res/values/themes_material.xml +++ b/core/res/res/values/themes_material.xml @@ -375,6 +375,7 @@ please see themes_device_defaults.xml. @color/material_blue_grey_900 @color/material_blue_grey_800 @color/material_deep_teal_200 + ?attr/colorPrimary ?attr/textColorSecondary ?attr/colorAccent