EditText with runtime amount formatting. There's nothing extra. Supports different separator's types.
- Extended from EditText, so you can use it like regular EditText f.e. with TextInputLayout
- Formatting occurs in runtime
- You can change decimal separator, decimal part length, grouping separator
- Cases with insert from clipboard was processed, as a result, you can't paste incorrect values. From pasted data will be select correct parts only
Project sample is above.
| ||','||Separator of integer and fractional part|
| ||2||Max decimal part length|
| ||false||If false, input separator in position (string length - decimalPartLength) will be forbid. If true, you can put separator to any string's position, but excess decimal part will be cut off|
| ||' '||Discharge separator of integer part|