1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-26 01:28:50 -05:00

make the checkmarks a bit more prominent

This commit is contained in:
Jesse Vincent 2012-09-21 17:27:38 -04:00
parent 48785f52bf
commit 8df55d069d

View File

@ -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));
if (shape.equals(CHECKMARK)) {
mDrawable.getPaint().setStrokeWidth(3);
} else {
mDrawable.getPaint().setStrokeWidth(1); 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);