Merge "Add text shadow to improve visibility on album art" into qt-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
ab160487d6
@@ -295,6 +295,7 @@ public class NotificationMediaTemplateViewWrapper extends NotificationTemplateVi
|
|||||||
int tintColor = getNotificationHeader().getOriginalIconColor();
|
int tintColor = getNotificationHeader().getOriginalIconColor();
|
||||||
mSeekBarElapsedTime.setTextColor(tintColor);
|
mSeekBarElapsedTime.setTextColor(tintColor);
|
||||||
mSeekBarTotalTime.setTextColor(tintColor);
|
mSeekBarTotalTime.setTextColor(tintColor);
|
||||||
|
mSeekBarTotalTime.setShadowLayer(1.5f, 1.5f, 1.5f, mBackgroundColor);
|
||||||
|
|
||||||
ColorStateList tintList = ColorStateList.valueOf(tintColor);
|
ColorStateList tintList = ColorStateList.valueOf(tintColor);
|
||||||
mSeekBar.setThumbTintList(tintList);
|
mSeekBar.setThumbTintList(tintList);
|
||||||
|
|||||||
Reference in New Issue
Block a user