Forum Discussion

Manish_oodles's avatar
11 years ago

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.

2 Replies

  • As you noted, the grid screen only supports grayscale background colors. Unfortunately, there is no workaround for that.
    • chaklasiyanikun's avatar
      chaklasiyanikun
      Roku Guru

      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"