e.g:
根据区域国家号码的输入号码格式会自动变化
(021)8787-8787
请问android是怎么实现的?
大概说一下在那里实现的就行
android 号码 格式 格式化
------解决方案--------------------
private PhoneNumberFormattingTextWatcher sNumberFormattingTextWatcher = new PhoneNumberFormattingTextWatcher();
mEditText.addTextChangedListener(sNumberFormattingTextWatcher);
就是这个PhoneNumberFormattingTextWatcher类