Slightly lower opacity for region downloads form basemap

This commit is contained in:
xmd5a 2015-11-23 11:58:47 +03:00
parent 201c484c79
commit d0c93aa171
2 changed files with 3 additions and 7 deletions

View file

@ -174,8 +174,8 @@
<color name="dialog_inactive_text_color_dark">#78909c</color> <color name="dialog_inactive_text_color_dark">#78909c</color>
<!-- DownloadedRegionsLayer --> <!-- DownloadedRegionsLayer -->
<color name="region_uptodate">#5532C832</color> <color name="region_uptodate">#6632C832</color>
<color name="region_updateable">#55FF8F00</color> <color name="region_updateable">#66FF8F00</color>
<color name="region_selected">#55FFFF00</color> <color name="region_selected">#66FFFF00</color>
<color name="region_downloading">#2Acd2c33</color> <color name="region_downloading">#2Acd2c33</color>
</resources> </resources>

View file

@ -103,10 +103,6 @@ public class DownloadedRegionsLayer extends OsmandMapLayer implements IContextMe
rm = app.getResourceManager(); rm = app.getResourceManager();
osmandRegions = rm.getOsmandRegions(); osmandRegions = rm.getOsmandRegions();
//paintDownloaded = getPaint(Color.argb(100, 50, 200, 50));
//paintSelected = getPaint(Color.argb(100, 255, 143, 0));
//paintDownloading = getPaint(Color.argb(40, 50, 200, 50));
//paintOutdated = getPaint(Color.argb(100, 0, 128, 255));
paintDownloaded = getPaint(view.getResources().getColor(R.color.region_uptodate)); paintDownloaded = getPaint(view.getResources().getColor(R.color.region_uptodate));
paintOutdated = getPaint(view.getResources().getColor(R.color.region_updateable)); paintOutdated = getPaint(view.getResources().getColor(R.color.region_updateable));
paintSelected = getPaint(view.getResources().getColor(R.color.region_selected)); paintSelected = getPaint(view.getResources().getColor(R.color.region_selected));