cottonBallPaws cottonBallPaws - 4 years ago 154
Android Question

Is there a way to style a TextView to uppercase all of its letters?

I would like to be able to assign a xml attribute or style to a

that will make whatever text it has in ALL CAPITAL LETTERS.

The attributes
do nothing and look like they are for user inputed text, not a

I would like to do this so I can separate the style from the content. I know I could do this programmically but again I want keep style out of the content and the code.

Answer Source

I though that was a pretty reasonable request but it looks like you cant do it at this time. What a Total Failure. lol


You can now use textAllCaps to force all caps.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download