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

silverlight - Applying a style to ItemContainerStyle in C# -

c# - NullReferenceException in MySqlClient.NativeDriver -

php - Updating recent updates - Problem in procedure - Any other approach? -