Before marking my question as duplicate, notice that there is a fundamental misunderstanding in that thread as to what "title case" means. In the english language, Title Case is not the same as having each word capitalized. In a title, we should
- Capitalize nouns, pronouns, adjectives, verbs, adverbs, and subordinate conjunctions.
- Lowercase articles (a, an, the), coordinating conjunctions, and prepositions.
Since the similar question I am pointing to is also a bit dated, I was wondering if anyone is aware of any facility in android to convert a string to a title case? Or is the only option to roll out my own class?
For some background if you care, I am building an app that has some user generated contents, in addition to expert generated contents. I want my app to look intelligent and professional. So for the EditText I enable textAutoComplete|textAutoCorrect
. But in addition, I want the title to look like titles, not just strings that have been typed by random users.