Use Unicode ellipsis instead of three dots
consp1racy opened this issue · 0 comments
consp1racy commented
Replace "..." with "…".
http://www.fileformat.info/info/unicode/char/2026/index.htm
BadgeDrawable.java:266
private String cutNumber(int number, int width) {
String text = String.valueOf(number);
return this.paint.measureText(text) < (float)width?text:"...";
}
private String cutText(String text, int width) {
if(this.paint.measureText(text) <= (float)width) {
return text;
} else {
String suffix = "...";
// ...
return text + suffix;
}
}