0

How to adjust words in a line in multiline text and how to disable editing in multiline text.

enter image description here

Zoe
  • 27,060
  • 21
  • 118
  • 148
Inam
  • 21
  • 3
  • define adjustment ? do you mean alignment ? if yes you can refer to this question : https://stackoverflow.com/questions/9381715/android-edit-text-alignment – Achmad Naufal Syafiq Dec 30 '17 at 15:52

1 Answers1

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