How to make EditText in Android to take only numeric input from Java file not from XML ?
Also i need to make it a PASSWORD field which allows a max of 6 numers ?
I checked Android: How do you create an EditText feild in java class
and How to create EditText numeric (signed and unsigned decimal) from java code
This is easy from XML.
This is how we can do this java file.