From 8f2ff20b910883ad52045bb0971132b5ac9fd903 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 23 Jun 2014 19:57:01 +0300 Subject: [PATCH] updated size of date or distance --- OsmAnd/res/layout/route_point_info.xml | 1 - .../plus/routepointsnavigation/RoutePointsActivity.java | 5 ++++- 2 files changed, 4 insertions(+), 2 deletions(-) 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; }