forked from organicmaps/organicmaps
[android] Fixed ratingview tinting on Prelolipop devices
This commit is contained in:
parent
7b830f9226
commit
60aa9d224e
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ public class RatingView extends View
|
|||
mBackgroundPaint.setColor(mRatingColor);
|
||||
mBackgroundPaint.setAlpha(31 /* 12% */);
|
||||
if (mDrawSmile)
|
||||
mDrawable = res.getDrawable(impress.getDrawableId());
|
||||
mDrawable = DrawableCompat.wrap(res.getDrawable(impress.getDrawableId()));
|
||||
mTextPaint.setColor(mRatingColor);
|
||||
invalidate();
|
||||
requestLayout();
|
||||
|
|
Loading…
Add table
Reference in a new issue