Use
editText.setImeOptions(EditorInfo.IME_ACTION_DONE);
editText.setRawInputType(InputType.TYPE_CLASS_TEXT);
and in XML:
android:inputType="textMultiLine"
More Related Contents:
- Making a listview from JSON array
- Android ImageView Scaling and translating issue
- How to determine when Fragment becomes visible in ViewPager
- Android How to use MediaScannerConnection scanFile
- Android 5.0 android:elevation Works for View, but not Button?
- Convert content:// URI to actual path in Android 4.4
- Can I use assert on Android devices?
- Dependancy error when integrating android studio project with Firebase for a google sign in feature
- Open Facebook Page in Facebook App (if installed) on Android [duplicate]
- How to remove a contact programmatically in android
- Automatic popping up keyboard on start Activity
- java.lang.noclassdeffounderror: org.ksoap2.serialization.SoapObject
- How to programmatically set maxLength in Android TextView?
- Suggestions to avoid bitmap Out of Memory error
- how to add padding between menu items in android? [duplicate]
- adb is not recognized as internal or external command on windows
- “Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16”
- TimePicker Dialog from clicking EditText
- How to tell ProGuard to keep everything in a particular package?
- How to hide the soft-key bar on Android phone?
- Get Signal Strength in Android
- android: choose default launcher programmatically
- Android emulator freezing OS X v10.9 (Mavericks) with HAXM
- Android ImageView size not scaling with source image
- Only use XHDPI drawables in Android app?
- Missing annotations.jar
- Android Q (10) ask permission to get access all storage. Scoped storage
- Flutter TabBar and SliverAppBar that hides when you scroll down
- How to display a Toast in Android AsyncTask?
- Transforming accelerometer’s data from device’s coordinates to real world coordinates