I have an EditText and I need the text in it (when user types in) to be started with capital letter.
I have an EditText and I need the text in it (when user types
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Be careful if you add both
android:capitalize="sentences"andandroid:inputType="text", as the latter seems to have priority over the first and the input will not be capitalized.There’s a specific
inputTypefor automatically capitalizing the first letter:android:inputType="textCapSentences"See http://developer.android.com/reference/android/widget/TextView.html#attr_android:inputType