Android: Multiline & No autosuggest in EditText

后端 未结 7 618
既然无缘
既然无缘 2021-01-12 05:09

Is it possible to have an EditText that allows multilines and doesn\'t show the suggestions? I tried with this code:

android:inputType=\"textFilter|textMulti         


        
7条回答
  •  醉梦人生
    2021-01-12 05:42

    This is supposed to do what you want:

    android:inputType="textFilter|textMultiLine|textNoSuggestions"
    

    Although I haven't tried it myself. "textNoSuggestions" is only available since API 5.

提交回复
热议问题