update text layer
This commit is contained in:
parent
9b14864e08
commit
9b246894e6
1 changed files with 2 additions and 2 deletions
|
@ -151,7 +151,7 @@ public class MapTextLayer extends OsmandMapLayer {
|
|||
paintTextIcon.setStyle(Style.STROKE);
|
||||
paintTextIcon.setColor(nightMode
|
||||
? r.getColor(R.color.widgettext_shadow_night)
|
||||
: Color.WHITE);
|
||||
: r.getColor(R.color.widgettext_shadow_day));
|
||||
paintTextIcon.setStrokeWidth(2);
|
||||
cv.drawText(text, centerX, centerY, paintTextIcon);
|
||||
// reset
|
||||
|
@ -159,7 +159,7 @@ public class MapTextLayer extends OsmandMapLayer {
|
|||
paintTextIcon.setStyle(Style.FILL);
|
||||
paintTextIcon.setColor(nightMode
|
||||
? r.getColor(R.color.widgettext_night)
|
||||
: Color.BLACK);
|
||||
: r.getColor(R.color.widgettext_day));
|
||||
cv.drawText(text, centerX, centerY, paintTextIcon);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue