diff --git a/OsmAnd/src/net/osmand/plus/views/MapInfoLayer.java b/OsmAnd/src/net/osmand/plus/views/MapInfoLayer.java index 3758c3c11f..a853917e62 100644 --- a/OsmAnd/src/net/osmand/plus/views/MapInfoLayer.java +++ b/OsmAnd/src/net/osmand/plus/views/MapInfoLayer.java @@ -389,6 +389,7 @@ public class MapInfoLayer extends OsmandMapLayer { themeId = calcThemeId; boolean textBold = following; int textColor = nightMode ? view.getResources().getColor(R.color.widgettext_night):Color.BLACK; + // Night shadowColor always use widget background color for non-transparent night skin (from box_night_free_simple.9.png, is #dc262626) int textShadowColor = transparent && !nightMode? Color.WHITE : 0xdc262626; int boxTop; int boxTopStack; diff --git a/OsmAnd/src/net/osmand/plus/views/controls/RulerControl.java b/OsmAnd/src/net/osmand/plus/views/controls/RulerControl.java index 5251c067d4..8badd15064 100644 --- a/OsmAnd/src/net/osmand/plus/views/controls/RulerControl.java +++ b/OsmAnd/src/net/osmand/plus/views/controls/RulerControl.java @@ -19,7 +19,7 @@ public class RulerControl extends MapControls { //ruler and ruler label appeareance: // Day view: color black, shadowColor white (transpparent skin or not) - // Night view: color widgettext_night, shadowColor always use widget background color of non-transparent night skin (from box_night_free_simple.9.png, is #dc262626) + // Night view: color widgettext_night, shadowColor always use widget background color for non-transparent night skin (from box_night_free_simple.9.png, is #dc262626) ShadowText cacheRulerText = null; double cacheRulerZoom = 0;