Where can I find the values that InputType
can has?
I'm aware of http://developer.android.com/reference/android/text/InputType.html, but how should the values look like in layout xml files?
This question is related to
android
layout
android-edittext
android-inputtype
You can use the properties tab in eclipse to set various values.
here are all the possible values
Check here for explanations: http://developer.android.com/reference/android/widget/TextView.html#attr_android:inputType
Here is how the standard keyboard behaves for each of these input types.
See this answer for more details.
android:inputMethod
is deprecated, instead use inputType
:
android:inputType="numberPassword"
Source: Stackoverflow.com