am 202d1ec7: Fix text shadow attributes in textAppearance

* commit '202d1ec753ff9401f3a1ea93a09a7419e76b7f91':
  Fix text shadow attributes in textAppearance
This commit is contained in:
Raph Levien
2014-04-14 19:30:22 +00:00
committed by Android Git Automerger

View File

@@ -710,19 +710,19 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
break;
case com.android.internal.R.styleable.TextAppearance_shadowColor:
shadowcolor = a.getInt(attr, 0);
shadowcolor = appearance.getInt(attr, 0);
break;
case com.android.internal.R.styleable.TextAppearance_shadowDx:
dx = a.getFloat(attr, 0);
dx = appearance.getFloat(attr, 0);
break;
case com.android.internal.R.styleable.TextAppearance_shadowDy:
dy = a.getFloat(attr, 0);
dy = appearance.getFloat(attr, 0);
break;
case com.android.internal.R.styleable.TextAppearance_shadowRadius:
r = a.getFloat(attr, 0);
r = appearance.getFloat(attr, 0);
break;
}
}