Turn off spell checking
To get rid of spellchecking, you must specify EditText InputType in XML as follows:
android:inputType="textNoSuggestions"
However, my EditText should also be multi-line, so I added the following line to the EditText XML file:
android:inputType="textMultiLine|textNoSuggestions"
Disabling Word-Wrap
As already noted, the XML attribute android:scrollHorizontally="true" does not work. However, oddly enough, if this is done through Java, it really works. Here is the code you need to prevent word wrap:
mEditText.setHorizontallyScrolling(true);
Henry Thompson Aug 18 '12 at 22:17 2012-08-18 22:17
source share