try fix build
This commit is contained in:
parent
ac142be8a4
commit
fda31b7b56
1 changed files with 2 additions and 2 deletions
|
@ -1260,11 +1260,11 @@ public class GpxUiHelper {
|
||||||
if (analysis.hasSpeedInTrack()) {
|
if (analysis.hasSpeedInTrack()) {
|
||||||
yAxis.setTextColor(ActivityCompat.getColor(mChart.getContext(), R.color.gpx_chart_orange_label));
|
yAxis.setTextColor(ActivityCompat.getColor(mChart.getContext(), R.color.gpx_chart_orange_label));
|
||||||
yAxis.setGridColor(ActivityCompat.getColor(mChart.getContext(), R.color.gpx_chart_orange_grid));
|
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);
|
((TextView) findViewById(R.id.text_spd_container).findViewById(R.id.text_spd_value)).setTextColor(R.color.gpx_chart_orange);
|
||||||
} else {
|
} else {
|
||||||
yAxis.setTextColor(ActivityCompat.getColor(mChart.getContext(), R.color.gpx_chart_red_label));
|
yAxis.setTextColor(ActivityCompat.getColor(mChart.getContext(), R.color.gpx_chart_red_label));
|
||||||
yAxis.setGridColor(ActivityCompat.getColor(mChart.getContext(), R.color.gpx_chart_red_grid));
|
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);
|
((TextView) findViewById(R.id.text_spd_container).findViewById(R.id.text_spd_value)).setTextColor(R.color.gpx_chart_red);
|
||||||
}
|
}
|
||||||
|
|
||||||
yAxis.setAxisMinimum(0f);
|
yAxis.setAxisMinimum(0f);
|
||||||
|
|
Loading…
Reference in a new issue