Whilst testing on the Android Emulator running Android 4.0 (Ice Cream Sandwich), I have noticed that the Edittext does some quite strange things.
Firstly, it underlin
In Android 4.0+
sometimes I get a red underline in my Textview so i add the property ...
android:inputType="textNoSuggestions"
textNoSuggestions: to indicate that the IME should not show any dictionary-based word suggestions.
Here is a list of possible properties that we can define in : android:inputType
remember that the property android:scrollHorizontally="true"
doesn't work, so this is the solution:
mEditText.setHorizontallyScrolling(true);