diff --git a/OsmAnd/res/layout/route_point_info.xml b/OsmAnd/res/layout/route_point_info.xml index a5e01724be..229b525b40 100644 --- a/OsmAnd/res/layout/route_point_info.xml +++ b/OsmAnd/res/layout/route_point_info.xml @@ -25,7 +25,6 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="5dp" - android:textSize="20sp" android:layout_gravity="center_vertical"/> \ No newline at end of file diff --git a/OsmAnd/src/net/osmand/plus/routepointsnavigation/RoutePointsActivity.java b/OsmAnd/src/net/osmand/plus/routepointsnavigation/RoutePointsActivity.java index d9e5458b77..760c02435f 100644 --- a/OsmAnd/src/net/osmand/plus/routepointsnavigation/RoutePointsActivity.java +++ b/OsmAnd/src/net/osmand/plus/routepointsnavigation/RoutePointsActivity.java @@ -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; }