From ec76c0818aae3eaea2e84ec2af441dbeb55be043 Mon Sep 17 00:00:00 2001 From: GaidamakUA Date: Fri, 8 Apr 2016 19:10:13 +0300 Subject: [PATCH] Changed color of secondary icons --- OsmAnd/res/values/attrs.xml | 1 + OsmAnd/res/values/styles.xml | 2 ++ OsmAnd/src/net/osmand/plus/ContextMenuAdapter.java | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/OsmAnd/res/values/attrs.xml b/OsmAnd/res/values/attrs.xml index 0da0a01af1..80f3d7df46 100644 --- a/OsmAnd/res/values/attrs.xml +++ b/OsmAnd/res/values/attrs.xml @@ -47,6 +47,7 @@ + diff --git a/OsmAnd/res/values/styles.xml b/OsmAnd/res/values/styles.xml index 719047e89a..c2fe6c7a34 100644 --- a/OsmAnd/res/values/styles.xml +++ b/OsmAnd/res/values/styles.xml @@ -111,6 +111,7 @@ @color/color_white @color/icon_color_light + @color/icon_color_light @style/OsmandLightTheme.DarkActionbar @style/OsmandLightTheme.Toolbar @style/OsmandLightTheme.NewAppTheme @@ -242,6 +243,7 @@ @style/Widget.Styled.ActionBarDark @color/dialog_inactive_text_color_dark + @color/dialog_inactive_text_color_dark @style/OsmandDarkTheme.DarkActionbar @style/OsmandDarkTheme @style/OsmandDarkTheme diff --git a/OsmAnd/src/net/osmand/plus/ContextMenuAdapter.java b/OsmAnd/src/net/osmand/plus/ContextMenuAdapter.java index 3b0c3c4aeb..49d3594631 100644 --- a/OsmAnd/src/net/osmand/plus/ContextMenuAdapter.java +++ b/OsmAnd/src/net/osmand/plus/ContextMenuAdapter.java @@ -156,7 +156,7 @@ public class ContextMenuAdapter { int secondaryDrawable = item.getSecondaryIcon(); if (secondaryDrawable != ContextMenuItem.INVALID_ID) { @ColorRes - int colorRes = holoLight ? R.color.icon_color : R.color.dashboard_subheader_text_dark; + int colorRes = holoLight ? R.color.icon_color_light : R.color.dialog_inactive_text_color_dark; Drawable drawable = mIconsCache.getIcon(item.getSecondaryIcon(), colorRes); ImageView imageView = (ImageView) convertView.findViewById(R.id.secondary_icon); imageView.setImageDrawable(drawable);