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: 
Garrett
Visitor

Multiple sizes in gridscreen?

Is there a way to do multiple gridstyles in a single grid? I'd like to be able to change the first row... I think I've seen some of the partner apps doing this. Thanks!
0 Kudos
1 REPLY 1
TheEndless
Channel Surfer

Re: Multiple sizes in gridscreen?

Use the "mixed-aspect-ratio" grid style: http://sdkdocs.roku.com/display/RokuSDK ... tringstyle

The documentation for setting the row aspects is wrong, though. You specify what aspect each row should be with the SetListPosterStyles(listStyles as Array) method. It accepts an array of strings with the values of either "portrait" or "landscape". The array should be aligned with the array used to define the rows.
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
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.