AutocompleteEditText list multiline

padvou

Active Member
Licensed User
Longtime User
Hi all and merry chistmas.
Is it possible for the dropdown list of an autocompleteedittext to be multiline?
Like wrapping the text that doesn't fit.
Thank you
 

padvou

Active Member
Licensed User
Longtime User
Thank you for your quick reply.
I had tried Searchview but the index took too long to build. So i stack with autocompleteedittext which did what I needed perfectly, except for text which was too long. I mean the control itself is not wide enough, but it has double the height and it's multiline, so data fit. But the single lines in the drop down list are the problem..

Or maybe could be that the dropdown list is not limited by the actual width of the control and can be as wide as we 'd like it to be (like in MS VS) and even be as wide as the whole screen.

Ok, some "progress" so far..
I added lines to the focuschanged action which makes it to be as wide as needed and to the itemclicked to make it narrow as before.
However this only happens once.. After the control gets the focus, there is no way to take the focus away from it. Any ideas?
 
Last edited:
Upvote 0
Top