Fix inital screen load value format bug

This commit is contained in:
Chet Henry
2014-12-06 11:02:05 -07:00
parent 36f8b36df5
commit 32d80b524a

View File

@@ -170,7 +170,7 @@ public class CurrentValuesAdapter extends BaseAdapter {
tv.setTextAppearance(context, android.R.attr.textAppearanceLarge); tv.setTextAppearance(context, android.R.attr.textAppearanceLarge);
tv.setTypeface(Typeface.MONOSPACE, Typeface.BOLD); tv.setTypeface(Typeface.MONOSPACE, Typeface.BOLD);
tv.setTextSize(TypedValue.COMPLEX_UNIT_SP, size); tv.setTextSize(TypedValue.COMPLEX_UNIT_SP, size);
tv.setText(String.format("%.1f", 0.0)); tv.setText(values[key]);
tv.setId(key + 1); tv.setId(key + 1);
return tv; return tv;
} }