Commits

littledot5566 committed ff20de6

*More UI tweaks.

  • Participants
  • Parent commits e699e28

Comments (0)

Files changed (1)

File src/nctuw/littledot/localtreasure/components/HistoryActivityAdapter.java

 		TextView tvEndTime = (TextView) view.findViewById(R.id.hItem_tv_endTime);
 
 		tvTravelled.setText(NumberFormat.getInstance().format(
-				kv.getAsDouble(Expedition.KEY_TRAVELED)));
+				kv.getAsDouble(Expedition.KEY_TRAVELED)) + "m");
 		tvDistance.setText(NumberFormat.getInstance().format(
-				kv.getAsDouble(Expedition.KEY_DISTANCE)));
+				kv.getAsDouble(Expedition.KEY_DISTANCE)) + "m");
 		tvUser.setText(kv.getAsString(Profile.KEY_NAME));
 		tvStTime.setText(new Date(kv.getAsLong(Expedition.KEY_START_TIMESTAMP))
 				.toLocaleString());
 		tvEndTime
 				.setText((l = kv.getAsLong(Expedition.KEY_END_TIMESTAMP)) > 0 ? new Date(
-						l).toLocaleString() : "");
+						l).toLocaleString()
+						: "");
 		return view;
 	}
 }