Double-bold the snooze option text.
Bug: 208592419 Test: manual Merged-In: Ic3e704c47ec5e3f8bc11050e6d7642ff5d3b6e80 Change-Id: Ic3e704c47ec5e3f8bc11050e6d7642ff5d3b6e80
This commit is contained in:
@@ -254,7 +254,7 @@ public class NotificationSnooze extends LinearLayout
|
||||
return new NotificationSnoozeOption(null, minutes, description, resultText, action);
|
||||
}
|
||||
SpannableString string = new SpannableString(resultText);
|
||||
string.setSpan(new StyleSpan(Typeface.BOLD),
|
||||
string.setSpan(new StyleSpan(Typeface.BOLD, res.getConfiguration().fontWeightAdjustment),
|
||||
index, index + description.length(), 0 /* flags */);
|
||||
return new NotificationSnoozeOption(null, minutes, description, string,
|
||||
action);
|
||||
|
||||
Reference in New Issue
Block a user