I have an edittext and I want any character that I type in edittext show in Capital letter. I have used this:
edittext.setInputType(InputType.TYPE_TEXT_FLAG_CAP_CHARACTERS);
But it is not working. I want to do it dynamically. Any ideas.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Type of hack,Try this:
This should work(don’t have time to check)try putting the lines in onTextChanged in afterTextChanged if this doesn’t work..