How to Capitalize all Text in a TextView
added in API Level 14Present the text in ALL CAPS.
(For EditText, it displays it is ALL CAPS, but I am not able to edit it for some reason. :/ )
1. Create an Android project, if you don't already have one.
3. Ensure your minSdkVersion is 14 or higher.
4. In the main.xml file, add the code below.
...
android:textAllCaps = "true"
/>
5. Compile and run!
Related Articles:
Resources:
http://developer.android.com/reference/android/R.attr.html#textAllCaps