Forum Discussion

bbrouse's avatar
bbrouse
Visitor
15 years ago

generic-dark themetype and dialogs

I saw on here that someone had an issue with unreadable text in dialogs when using 'generic-dark' as the themetype in February. I'm wondering if anyone knows whether this will be fixable in sdk3 or not?

8 Replies

  • "destruk" wrote:
    http://rokudev.roku.com/roku_sdk_v30_20110420.zip

    With the SDK there, no, there is still one theme available to customize. So use a different color scheme and it should be ok.

    bbrouse is referring to the "ThemeType" theme attribute value of "generic-dark". It displays dark dialogs (like the Netflix app), but the text on those dialogs is the default gray, so you can barely read it, and there doesn't appear to be any theme attributes that affect that text color. That essentially renders the "generic-dark" theme useless.
  • Try these new theme parameters:

    DialogTitleText = "#FF0000"
    DialogBodyText = "#00FF00"

    --Kevin
  • destruk's avatar
    destruk
    Streaming Star
    "TheEndless" wrote:
    bbrouse is referring to the "ThemeType" theme attribute value of "generic-dark". It displays dark dialogs (like the Netflix app), but the text on those dialogs is the default gray, so you can barely read it, and there doesn't appear to be any theme attributes that affect that text color. That essentially renders the "generic-dark" theme useless.



    I thought the only theme you could customize was "generic-dark" ?
    The dialog boxes I see are all black text on a white background, so I don't notice an issue here.
  • "destruk" wrote:
    "TheEndless" wrote:
    bbrouse is referring to the "ThemeType" theme attribute value of "generic-dark". It displays dark dialogs (like the Netflix app), but the text on those dialogs is the default gray, so you can barely read it, and there doesn't appear to be any theme attributes that affect that text color. That essentially renders the "generic-dark" theme useless.

    I thought the only theme you could customize was "generic-dark" ?
    The dialog boxes I see are all black text on a white background, so I don't notice an issue here.

    The default theme is the black/dark gray on white/light gray that you mention. "generic-dark" however is the dark gray version of the default (see "ThemeType" on page 30 of the 3.0 SDK compenent reference). It's the theme that the Netflix channel uses, but up until the addition of the undocumented theme attributes RokuKevin mentioned above, the text color on the "generic-dark" dialogs was the same dark gray that the default theme uses, so it was pretty much unreadable.

    Here, to better illustrate, here's a screenshot of the default, the old generic-dark, and the newly colorizable generic-dark dialogs (believe it or not, that middle one actually has text in it):

  • I was trying the generic-dark and no change in colors with these in appMain.brs with my dialog screen. Whats wrong here?

    theme.ThemeType = "generic-dark"

    theme.DialogTitleText="#000000"
    theme.DialogBodyText="#999999"