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

How to change grid view background color?

I am trying to implement orange color as a background color of grid view.But gird view supports only gray scale colors.How to solve this issue?
Can we use ImageCanvas for changing background color of grid view.My current situation is such that when i try to implement Orage color as background it shows overridden colors.
0 Kudos
2 Replies
Highlighted
Level 9

Re: How to change grid view background color?

As you noted, the grid screen only supports grayscale background colors. Unfortunately, there is no workaround for that.
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
Highlighted

Re: How to change grid view background color?

Now, In SGDex View, Is it possible to change the background in view wise?. By default, all views displayed grayscale background.

Using below code It's Change hole View Background.

m.top.backgroundColor = "0x000000FF"
m.top.backgroundURI = "pkg:/images/background_image.png"

I need to change background in view wise. I tried below code. But no luck.

m.GridView.backgroundColor = "0x000000FF"
m.GridView.backgroundURI = "pkg:/images/background_image.png"

 

0 Kudos