Forum Discussion

rontom974's avatar
rontom974
Visitor
9 years ago

Category button color

hi, i was wondering how we can change the color of filter sub category
i can change the color of the text but i want to change the background color aswell
for changing text color
theme.FilterBannerActiveColor = "#ffffff"
theme.FilterBannerInactiveColor = "#ffffff"

i want to put #ee3733 in the background of "sub category"  when it is selected and #0000 when it is scrolling
Please see the image for better understanding 

Any help is appreciated. 
  • RokuKC's avatar
    RokuKC
    Roku Employee
    You can't control the color of the button, but you should be able to replace the button image asset entirely.

    See https://sdkdocs.roku.com/display/sdkdoc/roAppManager for

    FilterBannerActiveHD URL to set HD Filter Banner Active/Focus Highlighter pkg:/images/Filter_ActiveHint_SD43.png
    FilterBannerActiveSD URL to set SD Filter Banner Active/Focus Highlighter pkg:/images/Filter_ActiveHint_SD43.png

    FilterBannerInactiveHD URL to set HD Filter Banner Inactive Highlighter pkg:/images/Filter_InactiveHint_SD43.png
    FilterBannerInactiveSD URL to set SD Filter Banner Inactive Highlighter pkg:/images/Filter_InactiveHint_SD43.png