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"
精彩评论