I had an interesting usecase in my application, where I need to make EditText uppercase by default.
After googling it for a while found the solution,
This will solve the problem :) Let me know if there are any alternate ways
After googling it for a while found the solution,
EditText someText = (EditText) findViewById(R.id.someText);
someText.setInputType(0x00001001);
This will solve the problem :) Let me know if there are any alternate ways