updated size of date or distance

This commit is contained in:
unknown 2014-06-23 19:57:01 +03:00
parent befada0231
commit 8f2ff20b91
2 changed files with 4 additions and 2 deletions

View file

@ -25,7 +25,6 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginRight="5dp" android:layout_marginRight="5dp"
android:textSize="20sp"
android:layout_gravity="center_vertical"/> android:layout_gravity="center_vertical"/>
</LinearLayout> </LinearLayout>

View file

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