Controls over the EditText and the IME in Android
2009-12-16 18:11
447 查看
<EditText
android:id="@+id/edtInput"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
android:inputType="textShortMessage|textAutoCorrect|textCapSentences|textMultiLine"
android:imeOptions="actionDone|flagNoEnterAction"
android:maxLines="4"
android:maxLength="2000"
android:hint="@string/compose_hint"/>
<activity name="EditContactActivity"
android:windowSoftInputMode="stateVisible|adjustResize">
...
</activity>
More details
android:id="@+id/edtInput"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
android:inputType="textShortMessage|textAutoCorrect|textCapSentences|textMultiLine"
android:imeOptions="actionDone|flagNoEnterAction"
android:maxLines="4"
android:maxLength="2000"
android:hint="@string/compose_hint"/>
<activity name="EditContactActivity"
android:windowSoftInputMode="stateVisible|adjustResize">
...
</activity>
More details
相关文章推荐
- How to disable cursor positioning and text selection in an EditText? (Android)
- [Android][Rendering Problems] Failed to find style 'editTextStyle' in current theme 解决方法
- Is there any way to define a min and max value for edittext in android?
- On blocking the SMS sending and dialing in Android
- Customizing Background and Text color in Options Menu Android
- the android virtual Device AVD2.3.3 is currently running in an emulator and cannot be deleted.
- android软键盘的事件响应:android EditText inputType 及 android:imeOptions=”actionDone”
- open files in a directory and then find someword in the text tcl tk
- Read a Text File with VBA in Excel, and Write the Text to a Spreadsheet
- Android EditText with custom font and clear button
- An Overview Of The New Services, Controls, And Features In ASP.NET 2.0
- @" and "+" in the Android layout file
- android EditText IMEOption
- The Logger in Java and Android
- Coloring the Console Application (AddingText and Background color in C#)
- Android Edittext设置android:imeOptions="actionSearch"不起作用
- android EditText inputType 及 android:imeOptions=”actionDone”
- Android to the picture plus text and image watermarking example code
- android错误:The method makeText(Context, CharSequence, int) in the type
- EditText添加android:imeOptions="actionSearch"弹出的键盘中带有搜索按钮