How do I enter the name in the Person Name with a capital letter?

  • 3
    You just have to click. - YurySPb
  • one
    @JohnSukhanov, If you are given a comprehensive answer, mark it as correct (click on the check mark next to the selected answer). - Vladyslav Matviienko

3 answers 3

Add the android:inputType attribute to your EditText with the value textCapWords . Other possible values ​​can be found here .

  • yes, you are right, I completely forgot about inputType - fortuna58rus
  • @JohnSukhanov, If you are given a comprehensive answer, mark it as correct (click on the check mark next to the selected answer). - Yuriy SPb

Perhaps you need in EditText , namely in android:InputType tick the item textCapSentences , then the first letter in the sentence will be capitalized. With an InputType equal to textCapWords each written word will be written with a capital letter.

     android:inputType="textPersonName|textCapWords" 

    The first is the name dialing keyboard.

    The second - with a capital letter.