i want to allow only numbers and period(.) in a android edit text. How to do this .. can any body help?
Currently, specific default input types (numeric, phone number) use KeyListener. You'll just have to implement it to verify your data, and use setKeyListener in your EditText.