ecarb duration format
This commit is contained in:
parent
c69a541b75
commit
b05b300faf
|
@ -80,7 +80,7 @@ public class ECarbActivity extends ViewSelectorActivity {
|
||||||
if (editStartTime != null){
|
if (editStartTime != null){
|
||||||
def = SafeParse.stringToDouble(editStartTime.editText.getText().toString());
|
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]");
|
setLabelToPlusMinusView(view, "start [min]");
|
||||||
container.addView(view);
|
container.addView(view);
|
||||||
return view;
|
return view;
|
||||||
|
|
Loading…
Reference in a new issue