add comments for night view readability fixes
This commit is contained in:
parent
2262387461
commit
f2f1dd6562
2 changed files with 2 additions and 1 deletions
|
@ -389,6 +389,7 @@ public class MapInfoLayer extends OsmandMapLayer {
|
||||||
themeId = calcThemeId;
|
themeId = calcThemeId;
|
||||||
boolean textBold = following;
|
boolean textBold = following;
|
||||||
int textColor = nightMode ? view.getResources().getColor(R.color.widgettext_night):Color.BLACK;
|
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 textShadowColor = transparent && !nightMode? Color.WHITE : 0xdc262626;
|
||||||
int boxTop;
|
int boxTop;
|
||||||
int boxTopStack;
|
int boxTopStack;
|
||||||
|
|
|
@ -19,7 +19,7 @@ public class RulerControl extends MapControls {
|
||||||
|
|
||||||
//ruler and ruler label appeareance:
|
//ruler and ruler label appeareance:
|
||||||
// Day view: color black, shadowColor white (transpparent skin or not)
|
// 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;
|
ShadowText cacheRulerText = null;
|
||||||
double cacheRulerZoom = 0;
|
double cacheRulerZoom = 0;
|
||||||
|
|
Loading…
Reference in a new issue