Android Question FlowLayoutPanel

MikeCLX

Member
Licensed User
Longtime User
does Anyone know of a flowlayout panel for B4x?

like the image attached?
im developing a control app and this way it can dynamically add control panels regardless of resolution orientation etc.

the question has been asked before and the answer was a CLV but I cannot see how this would be done with a CLV control



1628929937575.png
 

Peter Simpson

Expert
Licensed User
Longtime User
Is the layout change/resize due to a smaller screen size?
If so you should use clv but as a card and not a single row design.

Don't use multiple layouts, that will just confuse matters...
 
Upvote 0

MikeCLX

Member
Licensed User
Longtime User
The app will have panels that will be for each module, the app is intended to be completely modular, it will need to run on a pone as well as wall mounted landscape tablets, a panel will be shown if that module is installed, and this won’t be known until runtime. The flowlayoutpanel would need to have vert scroll bars if the content does not fit on the screen
 
Upvote 0

Star-Dust

Expert
Licensed User
Longtime User
Try xGridListView


fix itemWidth and it will adapt the column number according to the width or it will insert them in the second line
 
Upvote 0
Top