Add setFilters function

final FloatLabeledEditText input = new FloatLabeledEditText(this);
InputFilter[] FilterArray = new InputFilter[1];
FilterArray[0] = new InputFilter.LengthFilter(14);
input.setFilters(FilterArray);