Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Android and Capitalize Letter

I had a textview and what was weird is that I could not get it to always assume capital after a period. Here is what I learned:

android:capitalize

If set, specifies that this TextView has a textual input method and should automatically capitalize what the user types. The default is "none".

Must be one of the following constant values.

Constant     Value    Description
none 0 Don't automatically capitalize anything.
sentences 1 Capitalize the first word of each sentence.
words 2 Capitalize the first letter of every word.
characters 3 Capitalize every character.
This corresponds to the global attribute resource symbol capitalize.

API Link


This post first appeared on .Net, Security, And Powershell Goodies, please read the originial post: here

Share the post

Android and Capitalize Letter

×

Subscribe to .net, Security, And Powershell Goodies

Get updates delivered right to your inbox!

Thank you for your subscription

×