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: 
Highlighted
rsromeo
Level 7

Changing Background Color

Hi, I'm learning SG and am using the videoplayer-master-channel sample.  I have been trying to change the background color for the channel from gray and cannot get it to work.  I've gone into the VideoScene.xml and changed Rectangle color, I've looked in CategoryScene.xml but don't see any background color settings.  I checked manifest.  Can anyone possibly point me in the right direction here?  I basically want all my scenes to have same background color.  With the old SDK, I used roAppManager to do this.
0 Kudos
2 Replies
Highlighted
squirreltown
Level 9

Re: Changing Background Color

"rsromeo" wrote:
  I basically want all my scenes to have same background color.  With the old SDK, I used roAppManager to do this.


m.top.backgroundColor = "0x000000FF" 
m.top.backgroundURI = "



Should be in the init() functions in your .brs files.
Kinetics Screensavers
0 Kudos
Highlighted
rsromeo
Level 7

Re: Changing Background Color

awesome!!  thanks!!  worked perfectly.
0 Kudos