Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialAlexander Schott
8,318 PointsButton Text all Uppercase-Letters
How can I fix the setting, that my Button text is not written in all upper-letter-characters? My text is "Show Another Fun Fact", but it displays it like "SHOW ANOTHER FUN FACT".
5 Answers
Steve Hunter
57,712 PointsThis could be an SDK version thing.
API 21 comes with a textAllCaps property which you need make false
. That might solve the problem.
Let me know if that works or if you can find it! (I'll have a go now ...)
Alexander Schott
8,318 PointsThank you for the allCaps keyword. I have found a similar question on Stack Overflow. I have added android:textAllCaps="false"
to my Button Code and it works.
lempamo
2,146 PointsNever mind! The textAllCaps="false" thing worked for me.
lempamo
2,146 PointsI have the same problem, but I'm using API 14(Ice Cream Sandwich) for making, and testing. Any ideas?
Steve Hunter
57,712 PointsThat's odd! Have you looked through all the Text properties to see if there's some setting that's causing this?