From 5b3077c469785b164c5944fc207b5652a1ededd8 Mon Sep 17 00:00:00 2001 From: Denis Date: Thu, 26 Mar 2015 11:44:20 +0200 Subject: [PATCH] Changed color of app mode icons --- OsmAnd/res/values/colors.xml | 2 ++ .../src/net/osmand/plus/activities/actions/AppModeDialog.java | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/OsmAnd/res/values/colors.xml b/OsmAnd/res/values/colors.xml index 966380a86e..354e32d86f 100644 --- a/OsmAnd/res/values/colors.xml +++ b/OsmAnd/res/values/colors.xml @@ -1,6 +1,8 @@ + #33B4E4 + #f41a34 #2d383d #b36d12 diff --git a/OsmAnd/src/net/osmand/plus/activities/actions/AppModeDialog.java b/OsmAnd/src/net/osmand/plus/activities/actions/AppModeDialog.java index 68e21baf90..352c25caf3 100644 --- a/OsmAnd/src/net/osmand/plus/activities/actions/AppModeDialog.java +++ b/OsmAnd/src/net/osmand/plus/activities/actions/AppModeDialog.java @@ -253,7 +253,7 @@ public class AppModeDialog { tb.setTextOn(""); tb.setTextOff(""); tb.setContentDescription(mode.toHumanString(ctx)); - tb.setCompoundDrawablesWithIntrinsicBounds(null, ctx.getIconsCache().getIcon(mode.getIconId(), R.color.dashboard_blue), null, null); + tb.setCompoundDrawablesWithIntrinsicBounds(null, ctx.getIconsCache().getIcon(mode.getIconId(), R.color.app_mode_icon_color), null, null); tb.setPadding(0, padding, 0, 0); LayoutParams lp = new LinearLayout.LayoutParams(metrics, metrics); lp.setMargins(left, 0, 0, 0);