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: 
bbrouse
Visitor

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?
0 Kudos
8 REPLIES 8
destruk
Streaming Star

Re: generic-dark themetype and dialogs

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.
0 Kudos
TheEndless
Channel Surfer

Re: generic-dark themetype and dialogs

"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.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos
RokuKevin
Visitor

Re: generic-dark themetype and dialogs

Try these new theme parameters:

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

--Kevin
0 Kudos
destruk
Streaming Star

Re: generic-dark themetype and dialogs

"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.
0 Kudos
TheEndless
Channel Surfer

Re: generic-dark themetype and dialogs

"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):

My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos
destruk
Streaming Star

Re: generic-dark themetype and dialogs

Really cool. 🙂 So it's fixed now.
0 Kudos
bbrouse
Visitor

Re: generic-dark themetype and dialogs

very awesome. thank you gentlemen, quality as always.
0 Kudos
bandal
Visitor

Re: generic-dark themetype and dialogs

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"
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.