diff --git a/OsmAnd/res/values/colors.xml b/OsmAnd/res/values/colors.xml index 3a2657cdd1..e772395d62 100644 --- a/OsmAnd/res/values/colors.xml +++ b/OsmAnd/res/values/colors.xml @@ -172,4 +172,9 @@ #2f7af5 #78909c + + + #6632C832 + #66FF8F00 + #66FFFF00 \ No newline at end of file diff --git a/OsmAnd/src/net/osmand/plus/views/DownloadedRegionsLayer.java b/OsmAnd/src/net/osmand/plus/views/DownloadedRegionsLayer.java index 7b9ae89aea..bd7a9d5790 100644 --- a/OsmAnd/src/net/osmand/plus/views/DownloadedRegionsLayer.java +++ b/OsmAnd/src/net/osmand/plus/views/DownloadedRegionsLayer.java @@ -104,10 +104,10 @@ public class DownloadedRegionsLayer extends OsmandMapLayer implements IContextMe rm = app.getResourceManager(); osmandRegions = rm.getOsmandRegions(); - paintDownloaded = getPaint(Color.argb(100, 50, 200, 50)); - paintSelected = getPaint(Color.argb(100, 255, 143, 0)); + paintDownloaded = getPaint(view.getResources().getColor(R.color.region_uptodate)); + paintSelected = getPaint(view.getResources().getColor(R.color.region_selected); paintDownloading = getPaint(Color.argb(40, 50, 200, 50)); - paintOutdated = getPaint(Color.argb(100, 0, 128, 255)); + paintOutdated = getPaint(view.getResources().getColor(R.color.region_updateable)); textPaint = new TextPaint(); final WindowManager wmgr = (WindowManager) view.getApplication().getSystemService(Context.WINDOW_SERVICE);