Android: Multiline & No autosuggest in EditText

后端 未结 7 621
既然无缘
既然无缘 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 06:03

    Warning: it looks like this is API version dependent.

    textFilter option alone works for me on a tab running 3.1 (no suggestion when typing) but it does not work on a smartphone running 2.2 (still suggest when typing).

    On 2.2 I use :

    android:inputType="textVisiblePassword"
    

    Annoying none the less if we have to check against all different API...

提交回复
热议问题