Nid*_*esh 11 android android-layout
Suppose I have an EditText in my layout.
<EditText
android:id="@+id/username"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:hint="@string/username"
/>
Run Code Online (Sandbox Code Playgroud)
We can set the inputType for this EditText as text, number, phone, textPassword, etc. What will be the inputType of the EditText by default?
经过一番研究发现默认的Edittext InputType将是InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_FLAG_MULTI_LINE
这是十六进制:0x20001或十进制:131073
归档时间: |
|
查看次数: |
4443 次 |
最近记录: |