diff --git a/OsmAnd/res/values/colors.xml b/OsmAnd/res/values/colors.xml index a33a1ba35c..d374f59dd0 100644 --- a/OsmAnd/res/values/colors.xml +++ b/OsmAnd/res/values/colors.xml @@ -86,6 +86,8 @@ #727272 #ccc + #505050 + #eaeaea #292f33 #212121 diff --git a/OsmAnd/src/net/osmand/plus/views/MapControlsLayer.java b/OsmAnd/src/net/osmand/plus/views/MapControlsLayer.java index 7a97337a66..9739fc4d48 100644 --- a/OsmAnd/src/net/osmand/plus/views/MapControlsLayer.java +++ b/OsmAnd/src/net/osmand/plus/views/MapControlsLayer.java @@ -531,7 +531,8 @@ public class MapControlsLayer extends OsmandMapLayer { if ((System.currentTimeMillis() - lastZoom > 1000) || !OsmandPlugin.isDevelopment()) { zoomText.setVisibility(View.GONE); appModeIcon.setImageDrawable(app.getIconsCache().getIcon( - settings.getApplicationMode().getSmallIconDark(), !isNight)); + settings.getApplicationMode().getSmallIconDark(), + isNight ? 0 : R.color.on_map_icon_color)); } else { zoomText.setVisibility(View.VISIBLE); zoomText.setTextColor(textColor); @@ -665,7 +666,7 @@ public class MapControlsLayer extends OsmandMapLayer { public void setTransparencyBarEnabled(boolean isTransparencyBarEnabled) { this.isTransparencyBarEnabled = isTransparencyBarEnabled; if (settingsToTransparency != null) { - if(isTransparencyBarEnabled) { + if (isTransparencyBarEnabled) { transparencyBarLayout.setVisibility(View.VISIBLE); } else { transparencyBarLayout.setVisibility(View.GONE);