Merge pull request #9609 from osmandapp/fix_synced_icon

Fix #9341 color of synced icon
This commit is contained in:
Vitaliy 2020-08-10 17:45:39 +03:00 committed by GitHub
commit d4a9ebc988
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -189,7 +189,7 @@
<color name="gpx_time_span_color">#0080FF</color> <color name="gpx_time_span_color">#0080FF</color>
<color name="color_favorite">#eecc22</color> <color name="color_favorite">#eecc22</color>
<color name="color_favorite_gray">#b3b3b3</color> <color name="color_favorite_gray">#727272</color>
<color name="parking_icon_background">#244DBD</color> <color name="parking_icon_background">#244DBD</color>
<color name="transport_stop_icon_background">#5870FE</color> <color name="transport_stop_icon_background">#5870FE</color>

View file

@ -78,7 +78,7 @@ public class PointImageDrawable extends Drawable {
mapIconBackgroundCenterSmall = backgroundType.getMapBackgroundIconId(ctx, "center", true); mapIconBackgroundCenterSmall = backgroundType.getMapBackgroundIconId(ctx, "center", true);
mapIconBackgroundBottomSmall = backgroundType.getMapBackgroundIconId(ctx, "bottom", true); mapIconBackgroundBottomSmall = backgroundType.getMapBackgroundIconId(ctx, "bottom", true);
colorFilter = new PorterDuffColorFilter(col, PorterDuff.Mode.SRC_IN); colorFilter = new PorterDuffColorFilter(col, PorterDuff.Mode.SRC_IN);
grayFilter = new PorterDuffColorFilter(res.getColor(R.color.color_favorite_gray), PorterDuff.Mode.MULTIPLY); grayFilter = new PorterDuffColorFilter(res.getColor(R.color.color_favorite_gray), PorterDuff.Mode.SRC_IN);
dp_12_px = AndroidUtils.dpToPx(pointInfo.ctx, 12); dp_12_px = AndroidUtils.dpToPx(pointInfo.ctx, 12);
} }