Reputation: 1866
Basically I'm trying to remove the suggestion underline from the editText and which is done by textNoSuggestions
in editText
. But now the problem is keyboard is not showing the enter button . So, I wonder how to show the enterKey even after adding the flag ?
Code:
<EditText
android:id="@+id/editTxt"
android:textColor="#001919"
android:gravity="start|top"
android:inputType="textNoSuggestions"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:textCursorDrawable="@null"
android:background="#fff"/>
Upvotes: 1
Views: 66
Reputation: 1043
Try this,
<EditText
android:id="@+id/editTxt"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#fff"
android:gravity="start|top"
android:inputType="textNoSuggestions|textMultiLine"
android:singleLine="false"
android:textColor="#001919"
android:textCursorDrawable="@null" />
Upvotes: 2