I need to set validation for a edittext view should allow two numeric values and two decimal values. example: 22.32
Please let me know how to do this validation
Thanks in advance
I need to set validation for a edittext view should allow two numeric values and two decimal values. example: 22.32
Please let me know how to do this validation
Thanks in advance
Put this method in a onClickListener and I guess you will be good to go.
Try this out. I suck at regex so it may not be the best, but give it a try.