zarko_popovski
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2013
10:17 AM
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
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
1 REPLY 1


Roku Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2013
11:14 AM
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.
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.