Merge pull request #9609 from osmandapp/fix_synced_icon
Fix #9341 color of synced icon
This commit is contained in:
commit
d4a9ebc988
2 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||||
|
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue