Your Digital Media Has Never Looked So Good

 
RENJITHVR4
Topic Author
Posts: 13
Joined: Sat Jul 09, 2016 4:17 am

Brightscript : Web Accordion effect

Thu Oct 06, 2016 5:04 am

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 
Image
 
User avatar
Komag
Posts: 808
Joined: Fri Aug 22, 2014 3:42 am

Re: Brightscript : Web Accordion effect

Thu Oct 06, 2016 6:29 pm

You can do "anything" with roScreen programming and a lot of time and work
 
User avatar
TheEndless
** Valued Community Member **
Posts: 9231
Joined: Mon Oct 04, 2004 10:15 am
Location: US
Contact:

Re: Brightscript : Web Accordion effect

Fri Oct 07, 2016 10:00 am

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)
 
RENJITHVR4
Topic Author
Posts: 13
Joined: Sat Jul 09, 2016 4:17 am

Re: Brightscript : Web Accordion effect

Thu Oct 13, 2016 10:22 am

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?
 
User avatar
TheEndless
** Valued Community Member **
Posts: 9231
Joined: Mon Oct 04, 2004 10:15 am
Location: US
Contact:

Re: Brightscript : Web Accordion effect

Sun Oct 16, 2016 11:53 am

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)

Who is online

Users browsing this forum: No registered users and 11 guests