mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-25 09:08:49 -05:00
make the checkmarks a bit more prominent
This commit is contained in:
parent
48785f52bf
commit
8df55d069d
@ -45,6 +45,7 @@ public class ColorChip {
|
|||||||
|
|
||||||
CHECKMARK.moveTo(0f,10f);
|
CHECKMARK.moveTo(0f,10f);
|
||||||
CHECKMARK.lineTo(6f,16f);
|
CHECKMARK.lineTo(6f,16f);
|
||||||
|
CHECKMARK.moveTo(6f,15f);
|
||||||
CHECKMARK.lineTo(16f,2f);
|
CHECKMARK.lineTo(16f,2f);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -55,7 +56,11 @@ public class ColorChip {
|
|||||||
|
|
||||||
mDrawable = new ShapeDrawable(new PathShape(shape, 16f, 16f));
|
mDrawable = new ShapeDrawable(new PathShape(shape, 16f, 16f));
|
||||||
|
|
||||||
mDrawable.getPaint().setStrokeWidth(1);
|
if (shape.equals(CHECKMARK)) {
|
||||||
|
mDrawable.getPaint().setStrokeWidth(3);
|
||||||
|
} else {
|
||||||
|
mDrawable.getPaint().setStrokeWidth(1);
|
||||||
|
}
|
||||||
if (messageRead) {
|
if (messageRead) {
|
||||||
// Read messages get an outlined circle
|
// Read messages get an outlined circle
|
||||||
mDrawable.getPaint().setStyle(Paint.Style.STROKE);
|
mDrawable.getPaint().setStyle(Paint.Style.STROKE);
|
||||||
|
Loading…
Reference in New Issue
Block a user