diff --git a/core/res/res/values/attrs.xml b/core/res/res/values/attrs.xml index 403d07d12db17..cd3f065d6491a 100644 --- a/core/res/res/values/attrs.xml +++ b/core/res/res/values/attrs.xml @@ -2274,6 +2274,10 @@ of the states. If false, the size will vary based on the current state. --> + + @@ -2420,7 +2424,7 @@ - + diff --git a/graphics/java/android/graphics/drawable/StateListDrawable.java b/graphics/java/android/graphics/drawable/StateListDrawable.java index d22a4baaee697..a8274b12b6883 100644 --- a/graphics/java/android/graphics/drawable/StateListDrawable.java +++ b/graphics/java/android/graphics/drawable/StateListDrawable.java @@ -105,6 +105,8 @@ public class StateListDrawable extends DrawableContainer { mStateListState.setConstantSize(a.getBoolean( com.android.internal.R.styleable.StateListDrawable_constantSize, false)); + setDither(a.getBoolean(com.android.internal.R.styleable.StateListDrawable_dither, false)); + a.recycle(); int type;