java - what's the best way to apply a mask to an EditText on Android? -



what's best way mask edittext on android?
edittext behave decimal number input here. there easy way this?

you have programmatically set inputfilter on edittext setfilters.

from documentation:

inputfilters can attached editables constrain changes can made them.

you can change users input, example adding decimal point want if correctly.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -