Android Question Limit Spinner control area

Paolo Pini

Member
Licensed User
Longtime User
Hi,
I use a spinner control to show a list of name where the use should select one.
My problem is that, when the spinner open, it fill all my panel to bottom hiding all control below.

How can limit the vertical area of this control?

Regards
 

teddybear

Well-Known Member
Licensed User
Implement spinner function with a lable and customelistview,you can control the visible items range
 
Upvote 0

PaulMeuris

Well-Known Member
Licensed User
Hello Paolo,
The spinner or B4XComboBox expand the list automatically (up or down).
If you have the space in the design of the screen you could use a CustomListView with a height set to 2 or 3 items.
The scrolling will stay in that region.


Greetings,
Paul
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…