Hello people. I have been trying to add some collapsible dropdowns in my app and can’t seem to get it right. I checked other posts for the same and followed the instructions it but no luck. Would really appreciate any help / suggestions. I’m includig the details
Here i’m trying to collapse “Text 1” which is inside “GroupM”, when i click on B1. Settings are as shown
Thanks for the reply @Baloshi69 but I’m not sure if I follow. I’m not using any repeting group. Its just a bunch of text that i want to collapse. So I put text inside the a group (Group M in my example) and what you see are the “Layout Settings” of that Group.
I have set it to collapse when not visible but i wouldn’t when when i toggle it using B1 button (in the screenshot)
Then it’s even esier , to make a custom state on the parent group.
and on each button set a workflow to set the state of that parent group to a specific name, and then on each text element put a condition if the parent group custom state is “this specific text” make it visible.
Hi there, @sethilashkay… I took a quick look, and the reason it is not working the way you want is because you are using the wrong layout. You are using align to parent, and you are putting top margins on elements to space them out. Start by using a column layout and get rid of the top margins on your elements, and then you should be able to get down the path to making the group collapse the way you want.