Merge branch 'master' of ssh://github.com/osmandapp/Osmand

This commit is contained in:
Victor Shcherb 2014-06-24 01:23:50 +02:00
commit f416118e8f
2 changed files with 7 additions and 1 deletions

View file

@ -1863,4 +1863,7 @@ Afghanistan, Albanie, Algerije, Andorra, Angola, Anguilla, Antigua en Barbuda, A
<string name="gpx_info_waypoints">Routepunten: %1$s </string>
<string name="show_zoom_buttons_navigation_descr">Zoomknoppen tonen tijdens navigeren</string>
<string name="show_zoom_buttons_navigation">Zoomknoppen</string>
<string name="sort_by_distance">Sorteer op afstand</string>
<string name="sort_by_name">Sorteer op naam</string>
<string name="visible_element">Zichtbaar</string>
</resources>

View file

@ -172,12 +172,14 @@ public class RoutePointsActivity extends OsmandListActivity {
} else {
convertView.setBackgroundColor(Color.TRANSPARENT);
}
if (point.isVisited()) {
holder.image.setImageResource(R.drawable.ic_action_ok_dark);
holder.name.setTextColor(getResources().getColor(R.color.osmbug_closed));
holder.dateOrDistance.setTextColor(getResources().getColor(R.color.color_unknown));
holder.dateOrDistance.setText(point.getTime());
holder.dateOrDistance.setTextSize(14);
} else {
if (point.isNextNavigate()) {
holder.image.setImageResource(R.drawable.ic_action_signpost_dark);
@ -191,6 +193,7 @@ public class RoutePointsActivity extends OsmandListActivity {
}
holder.name.setTextColor(getResources().getColor(R.color.color_update));
holder.dateOrDistance.setTextColor(getResources().getColor(R.color.color_distance));
holder.dateOrDistance.setTextSize(20);
}
return convertView;
}