Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
Showing results for 
Search instead for 
Did you mean: 
Level 7

Unfocused Button Text Color - Add Button

I am trying to figure out how to change the un-focused button text when a new button is added, such as "Resume Playing" or "Play from beginning." I have changed all the other text colors on the roSpringboardScreen but I can't figure out how to get this text color to change.

I am sure I need to add a line here with color information, but I can't seem to figure out the right variable:
if regread(show.contentid) <> invalid and regread(show.contentid).toint() >=30 then
screen.AddButton(1, "Resume playing")
screen.AddButton(2, "Play from beginning")
end if

Please help!
0 Kudos
2 Replies
Roku Employee
Roku Employee

Re: Unfocused Button Text Color - Add Button

I think you want ButtonMenuNormalText
0 Kudos
Level 7

Re: Unfocused Button Text Color - Add Button

Yes, that did it. I added a
theme.ButtonMenuNormalText = "#ffffff"
to my appMain.brs and it worked.

Thanks so much for your help!
0 Kudos