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: 
belltown
Roku Guru

Re: How to change colors and the look and feel

Correct
0 Kudos
tacticalcity
Visitor

Re: How to change colors and the look and feel

I feel like I am in elementary school and just got a gold star! 😄
0 Kudos
tacticalcity
Visitor

Re: How to change colors and the look and feel

OK, so the menu button text for subcategories I was referring to is called a "filter" by Roku. And according to the roAppManager it is controlled by FilterBannerActiveColor

So using the technique I was taught above I changed it to my desired color by adding

theme.FilterBannerActiveColor = "#f8c103"


it looks like this now...

Sub initTheme()

app = CreateObject("roAppManager")
theme = CreateObject("roAssociativeArray")

theme.OverhangOffsetSD_X = "72"
theme.OverhangOffsetSD_Y = "31"
theme.OverhangSliceSD = "pkg:/images/Overhang_Background_SD.png"
theme.OverhangLogoSD = "pkg:/images/Overhang_Logo_SD.png"

theme.OverhangOffsetHD_X = "125"
theme.OverhangOffsetHD_Y = "35"
theme.OverhangSliceHD = "pkg:/images/Overhang_Background_HD.png"
theme.OverhangLogoHD = "pkg:/images/Overhang_Logo_HD.png"

theme.ButtonMenuHighlightText = "#f8c103"

theme.FilterBannerActiveColor = "#f8c103"

app.SetTheme(theme)

End Sub


and it works!!!
0 Kudos
tacticalcity
Visitor

Re: How to change colors and the look and feel

Incase you're still confused about what I was trying to change, it's the text here...

0 Kudos