Difference between plain text input type and face name input type in Editext in android

When we use the EditText widget in Android, what is the main difference when using the input type Plain Text and the input type face name?

+6
source share
4 answers

Depending on your input type, the softkeyboad display will dynamically change.

+5
source

There is no real difference between them. To clarify what I mean when I'm not talking about the real difference, the input name of the person simply has the android:inputType="textPersonName" attribute android:inputType="textPersonName" preset. The personโ€™s name editing text will use the first character of each word after the user presses the space bar.

Only developers should provide certain amenities that need to set the inputType attribute in EditTex views. You will find similar text fields in the Android SDK ADT. And using the attribute mentioned above, you can have the same effect in the Plain Text field.

+6
source

to enter a personโ€™s name - text with a separate line

for plain text, the height of the multi-page edit editor window based on your data

+1
source

From Android Developers , EditText can be defined as a thin veneer on top of a TextView that customizes itself for editing.

  • The name of the input type PersonName can be set as - android:inputType="textPersonName"
  • Standard input text Type can be specified as - android:inputType = "text"

Note. . Based on the inputType type, the display of the soft keyboard will dynamically change.

+1
source

Source: https://habr.com/ru/post/916241/


All Articles