开发者

Android Special Characters

Hi i need to validate an edit text bo开发者_如何转开发x which user need to enter his height, I need to allow the user only this two symbols (" ') ex: 5'11". I want to restrict user entering other special characters, how to restrict, need a help


Set following property to your edittext

android:digits="'"1234567890"
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜