Android Question Scrollview with AutoCompleteEditText

jojo12

Member
Licensed User
I've tried to use scrollview with AutoCompleteEditText without success.
I've looked at Klaus example with Longtext, using a LabelText instead of AutoCompleteEditText.
In his example, the panel height seems not to go over 5600.
I've seen somewhere else that by putting -2 there is an adjustment of the height... I am not sure about those rules...
I am using AutoCompleteEditText because of the need of editing.
I have 1000 files of different length from 1000 bytes to 50000 bytes.
I am using the 9.80 of B4A.

What the rules to have a scrollview working and adapted to a variable text length in AutoCompleteEditText ?

Thanks
 

Mahares

Expert
Licensed User
Longtime User
I am using the 9.80 of B4A.

What the rules to have a scrollview working and adapted to a variable text length in AutoCompleteEditText ?
1. B4A 9.80 is considered ancient by today's measurements. Upgrade to the latest. As of this writing it is version 12.80.
2. Instead of scrollview with AutoCompleteEditText, consider: xCustomListView featuring AddTextItem along with B4XDialog/B4XSearchTemplate using XUI Views library. It is a lot newer and better. I know, you probably are going to say, that the app is an older app and it may not be practical to migrate. You decide.
 
Upvote 0
Top