Fix textview overflow in display

This commit is contained in:
Chet Henry
2014-12-04 14:57:54 -07:00
parent 3764b0b7ca
commit 1823e202ff

View File

@@ -270,6 +270,6 @@ public class CurrentValuesAdapter extends BaseAdapter {
Rect bounds = new Rect();
tv.getPaint().getTextBounds("9999.9", 0, "9999.9".length(), bounds);
return bounds.width();
return bounds.width() + 16;
}
}