Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
srbsdean
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:
 screen.ClearButtons()
if regread(show.contentid) <> invalid and regread(show.contentid).toint() >=30 then
screen.AddButton(1, "Resume playing")
screen.AddButton(2, "Play from beginning")
else
screen.addbutton(2,"Play")
end if
screen.SetContent(show)
screen.Show()


Please help!
Thanks!
0 Kudos
2 Replies
Roku Employee
Roku Employee

Re: Unfocused Button Text Color - Add Button

I think you want ButtonMenuNormalText

http://sdkdocs.roku.com/display/sdkdoc/roAppManager
0 Kudos
srbsdean
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