From ac142be8a44aaa59811ad5c72bbe81a2eb7f08a8 Mon Sep 17 00:00:00 2001 From: sonora Date: Thu, 25 May 2017 09:30:41 +0200 Subject: [PATCH] marker text color --- OsmAnd/src/net/osmand/plus/helpers/GpxUiHelper.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OsmAnd/src/net/osmand/plus/helpers/GpxUiHelper.java b/OsmAnd/src/net/osmand/plus/helpers/GpxUiHelper.java index b346926288..c7c1474c7e 100644 --- a/OsmAnd/src/net/osmand/plus/helpers/GpxUiHelper.java +++ b/OsmAnd/src/net/osmand/plus/helpers/GpxUiHelper.java @@ -1260,9 +1260,11 @@ public class GpxUiHelper { if (analysis.hasSpeedInTrack()) { yAxis.setTextColor(ActivityCompat.getColor(mChart.getContext(), R.color.gpx_chart_orange_label)); yAxis.setGridColor(ActivityCompat.getColor(mChart.getContext(), R.color.gpx_chart_orange_grid)); + ((TextView) textSpdView.findViewById(R.id.text_spd_value)).setTextColor(R.color.gpx_chart_orange); } else { yAxis.setTextColor(ActivityCompat.getColor(mChart.getContext(), R.color.gpx_chart_red_label)); yAxis.setGridColor(ActivityCompat.getColor(mChart.getContext(), R.color.gpx_chart_red_grid)); + ((TextView) textSpdView.findViewById(R.id.text_spd_value)).setTextColor(R.color.gpx_chart_red); } yAxis.setAxisMinimum(0f);