Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
RENJITHVR4
Visitor

Brightscript : Web Accordion effect

Is it possible to create an Accordion effect like web. ? I have full details on this question. Please help me or suggest me the best way.

I meant like this 
0 Kudos
4 REPLIES 4
Komag
Roku Guru

Re: Brightscript : Web Accordion effect

You can do "anything" with roScreen programming and a lot of time and work
0 Kudos
TheEndless
Channel Surfer

Re: Brightscript : Web Accordion effect

This would also be pretty easy to accomplish using SceneGraph.  Take a look at the animation documentation.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos
RENJITHVR4
Visitor

Re: Brightscript : Web Accordion effect

"TheEndless" wrote:
This would also be pretty easy to accomplish using SceneGraph.  Take a look at the animation documentation.


Could you please tell me how to do it? Just give me an Idea. Which type list or group should I use? And can I hide and show each content?
0 Kudos
TheEndless
Channel Surfer

Re: Brightscript : Web Accordion effect

You'd need to write your own custom component.  There isn't an existing component that supports this functionality.

Personally, I'd probably use a vertical LayoutGroup, then use an Animation to change the height of a label below each header when selected.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos