Map mode icon on map made darker.
This commit is contained in:
parent
f378b9967a
commit
56a8dc485c
2 changed files with 5 additions and 2 deletions
|
@ -86,6 +86,8 @@
|
||||||
<color name="icon_color">#727272</color>
|
<color name="icon_color">#727272</color>
|
||||||
<color name="icon_color_light">#ccc</color>
|
<color name="icon_color_light">#ccc</color>
|
||||||
|
|
||||||
|
<color name="on_map_icon_color">#505050</color>
|
||||||
|
|
||||||
<color name="ctx_menu_info_view_bg_light">#eaeaea</color>
|
<color name="ctx_menu_info_view_bg_light">#eaeaea</color>
|
||||||
<color name="ctx_menu_info_view_bg_dark">#292f33</color>
|
<color name="ctx_menu_info_view_bg_dark">#292f33</color>
|
||||||
<color name="ctx_menu_info_text_light">#212121</color>
|
<color name="ctx_menu_info_text_light">#212121</color>
|
||||||
|
|
|
@ -531,7 +531,8 @@ public class MapControlsLayer extends OsmandMapLayer {
|
||||||
if ((System.currentTimeMillis() - lastZoom > 1000) || !OsmandPlugin.isDevelopment()) {
|
if ((System.currentTimeMillis() - lastZoom > 1000) || !OsmandPlugin.isDevelopment()) {
|
||||||
zoomText.setVisibility(View.GONE);
|
zoomText.setVisibility(View.GONE);
|
||||||
appModeIcon.setImageDrawable(app.getIconsCache().getIcon(
|
appModeIcon.setImageDrawable(app.getIconsCache().getIcon(
|
||||||
settings.getApplicationMode().getSmallIconDark(), !isNight));
|
settings.getApplicationMode().getSmallIconDark(),
|
||||||
|
isNight ? 0 : R.color.on_map_icon_color));
|
||||||
} else {
|
} else {
|
||||||
zoomText.setVisibility(View.VISIBLE);
|
zoomText.setVisibility(View.VISIBLE);
|
||||||
zoomText.setTextColor(textColor);
|
zoomText.setTextColor(textColor);
|
||||||
|
@ -665,7 +666,7 @@ public class MapControlsLayer extends OsmandMapLayer {
|
||||||
public void setTransparencyBarEnabled(boolean isTransparencyBarEnabled) {
|
public void setTransparencyBarEnabled(boolean isTransparencyBarEnabled) {
|
||||||
this.isTransparencyBarEnabled = isTransparencyBarEnabled;
|
this.isTransparencyBarEnabled = isTransparencyBarEnabled;
|
||||||
if (settingsToTransparency != null) {
|
if (settingsToTransparency != null) {
|
||||||
if(isTransparencyBarEnabled) {
|
if (isTransparencyBarEnabled) {
|
||||||
transparencyBarLayout.setVisibility(View.VISIBLE);
|
transparencyBarLayout.setVisibility(View.VISIBLE);
|
||||||
} else {
|
} else {
|
||||||
transparencyBarLayout.setVisibility(View.GONE);
|
transparencyBarLayout.setVisibility(View.GONE);
|
||||||
|
|
Loading…
Reference in a new issue