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: 

Runtime theme changes?

Hi Roku friends,

Is it possible to change some theme parameter in runtime?
What i mean, some properties for GridScreen description bubble are the beginning when the application is initializing but depending on some media types and reusing existing grid screen i want to change grid screen description bubble size and position in runtime?
One solution and i think not very good solution would be to create one object that will keep instance of roAppManager and also will keep associative array with theme properties and that object i would set as global so it will available from every active screen. Is that ok or i should reconsider different approach?

Thanks
0 Kudos
1 REPLY 1
RokuChris
Roku Employee
Roku Employee

Re: Runtime theme changes?

Yes, you can change theme attributes at any time.

It's important to remember that theme attributes only apply to screens you create after those attributes are set. Screens that are already open will not update to reflect theme changes.
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.