Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
RENJITHVR4
Level 7

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
Level 10

Re: Brightscript : Web Accordion effect

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

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
Level 7

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
Level 10

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