Android Question How to create Expandable layout ?

tucano2000

Active Member
Licensed User
Longtime User
Anybody know way to create expandable layout example showed below using B4A:

android-exmpandable-collapsable-layout-view.png


source: http://www.viralandroid.com/2016/03/android-expandable-layout-tutorial-with-example.html

This project uses this library:
https://github.com/AAkira/ExpandableLayout
 
Last edited:

eurojam

Well-Known Member
Licensed User
Longtime User
If there is no ready to use library in B4A - what I suppose - then you have to do it by your own code. But this will not be a very difficult thing. I would start with a scrollview, put some panels inside and play around with the size. A starting point can be the scroll-view-example-summary from Klaus. at the bottom you will find an example from thedesolatesoul which goes in your direction...
https://www.b4x.com/android/forum/threads/scrollview-examples-summary.8423/
https://www.b4x.com/android/forum/threads/custom-expandable-listview.15986/
 
Upvote 0
Top