I’m making a android app, but I have a question, How I can automatically add points to insert hyphens and numbers EditText.
EditText editText1 = (EditText) findViewById(R.id.editText1);
Example:
Im insert 123456789
and EditText should show 12.234.5678-9
or when you are inserting, add the dots and dashes
I think you are looking for
addTextChangedListenermethod. You can add a listener to your edittext and then modify the text inside directly to add your points, usingafterTextChangedmethod.I hope this will help you 🙂