TextView can't change line In AutoCompleteTextView DropDownListVIew
问题 I tested on Android Api 28. I added a AutoCompleteTextView and it showed like below: I have try: 1.setting lines =3,maxLines = 3,scrollHorizontally = true,inputType="textMultiLine",singleLine =true,and it made no change. 2.setting LayoutParams,and it showed like below: . similar case:textview of autocompletetextview showing data in single line 回答1: Just need a LinerLayout to wrap the TextView in the layout of item: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"