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: 
rsromeo
Channel Surfer

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 2
squirreltown
Roku Guru

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
rsromeo
Channel Surfer

Re: Changing Background Color

awesome!!  thanks!!  worked perfectly.
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.