How to adjust words in a line in multiline text and how to disable editing in multiline text.
Asked
Active
Viewed 72 times
1 Answers
0
try this one
<EditText
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:lines="1"
android:maxLines="1"
android:singleLine="true"/>
see the accepted answer here Disable Enter in editText android

Mohammed Medhat
- 41
- 1
- 3