How to create EditText in Android from java file
<p>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 ?</p>

<p>I checked <a href="http://stackoverflow.com/questions/9857232/android-how-do-you-create-an-edittext-feild-in-java-class">Android: How do you create an EditText feild in java class</a></p>

<p>and  <a href="http://stackoverflow.com/questions/10302304/how-to-create-edittext-numeric-signed-and-unsigned-decimal-from-java-code">How to create EditText numeric (signed and unsigned decimal) from java code</a> </p>
