Sherif ElNady Sherif ElNady - 1 year ago 189
Android Question

Make EditText hint all caps

I want to make the EditText hint appear in capital case characters without adding an upper case string in the strings file, Any help?

Answer Source

I think this is an example you can try:

myEditText.setHint(getResources().getString(R.string.your_text_in_string).toUpperCase());