ecarb duration format

This commit is contained in:
AdrianLxM 2018-05-03 21:39:57 +02:00
parent c69a541b75
commit b05b300faf

View file

@ -80,7 +80,7 @@ public class ECarbActivity extends ViewSelectorActivity {
if (editStartTime != null){
def = SafeParse.stringToDouble(editStartTime.editText.getText().toString());
}
editStartTime = new PlusMinusEditText(view, R.id.amountfield, R.id.plusbutton, R.id.minusbutton, def, 0d, 300d, 10d, new DecimalFormat("0"), true);
editStartTime = new PlusMinusEditText(view, R.id.amountfield, R.id.plusbutton, R.id.minusbutton, def, 0d, 300d, 15d, new DecimalFormat("0"), false);
setLabelToPlusMinusView(view, "start [min]");
container.addView(view);
return view;