Change title/text color on roMessageDialog?

Roku's free SDK allows developers to build channels and applications and publish them to the Roku Channel Store. Register for the Developer Program at http://www.roku.com/developer

Moderators: RokuDouglas, RokuKen, RokuRyan, RokuJamesL, RokuChris, RokuJoel

Change title/text color on roMessageDialog?

Postby evilmax17 » Sun Feb 27, 2011 1:57 pm

Is there a way to change the title/text color of an roMessageDialog?

I'm trying to use ThemeType = "generic-dark", but it makes the text unreadable.

Thanks!
My Roku Channels:
Viddler - viddler.com
Tested Fan - tested.com | Jamie & Adam
This is my next - theverge.com
1080p Showcase - RIP
Whiskey Media - RIP
======================
http://www.binarymoustache.com
evilmax17
 
Posts: 181
Joined: Mon Sep 27, 2010 12:44 pm

Re: Change title/text color on roMessageDialog?

Postby destruk » Sun Feb 27, 2011 2:57 pm

It's good that you are using "generic-dark" as that is the only valid value besides "default" that you could use.
Pages 26-27 of the component reference guide list all the possible color values you can access for your theme's dialogs.
User avatar
destruk
 
Posts: 1968
Joined: Sat Dec 18, 2010 4:58 pm

Re: Change title/text color on roMessageDialog?

Postby evilmax17 » Sun Feb 27, 2011 3:17 pm

destruk wrote:It's good that you are using "generic-dark" as that is the only valid value besides "default" that you could use.
Pages 26-27 of the component reference guide list all the possible color values you can access for your theme's dialogs.

I don't see text/title color for dialogs on pages 26-27, do you? Unless I missed something.

The docs have been a little flaky in the past when it comes to themes, which is why I'm asking.
My Roku Channels:
Viddler - viddler.com
Tested Fan - tested.com | Jamie & Adam
This is my next - theverge.com
1080p Showcase - RIP
Whiskey Media - RIP
======================
http://www.binarymoustache.com
evilmax17
 
Posts: 181
Joined: Mon Sep 27, 2010 12:44 pm

Re: Change title/text color on roMessageDialog?

Postby destruk » Sun Feb 27, 2011 5:18 pm

evilmax17 wrote:
destruk wrote:It's good that you are using "generic-dark" as that is the only valid value besides "default" that you could use.
Pages 26-27 of the component reference guide list all the possible color values you can access for your theme's dialogs.

I don't see text/title color for dialogs on pages 26-27, do you? Unless I missed something.

The docs have been a little flaky in the past when it comes to themes, which is why I'm asking.


The only COLOR attributes for themes are there. You can try those and see if they work on dialog screens. If not, then you're just plain out of luck.
User avatar
destruk
 
Posts: 1968
Joined: Sat Dec 18, 2010 4:58 pm

Re: Change title/text color on roMessageDialog?

Postby TheEndless » Sun Feb 27, 2011 5:34 pm

destruk wrote:
evilmax17 wrote:
destruk wrote:It's good that you are using "generic-dark" as that is the only valid value besides "default" that you could use.
Pages 26-27 of the component reference guide list all the possible color values you can access for your theme's dialogs.

I don't see text/title color for dialogs on pages 26-27, do you? Unless I missed something.
The docs have been a little flaky in the past when it comes to themes, which is why I'm asking.

The only COLOR attributes for themes are there. You can try those and see if they work on dialog screens. If not, then you're just plain out of luck.

Actually, there have been a number of undocumented theme attributes discussed/uncovered in this forum. It's also not uncommon at all for there to be typos in the documentation, either (particularly with the theme attributes). I'm also quite interested in how to change the color of the text on the "generic-dark" dialogs, as it's not obvious in the documentation, nor is it realistic for us to try every single possible theme attribute to see if any affect it. I've abandoned using it in a couple of my channels for this very reason.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), MainSqueeze (MAINSQUEEZE), iTunes Podcasts (ITPC), Twitch.tv (TWITCHTV), My Channels (MYCHANNELS)
User avatar
TheEndless
** Valued Community Member **
 
Posts: 8169
Joined: Mon Oct 04, 2004 10:15 am
Location: US

Re: Change title/text color on roMessageDialog?

Postby RokuKevin » Mon Feb 28, 2011 4:19 pm

The generic-dark theme has an effect on dialogs and the keyboard screen. The keyboard screen allows you to override some of the parameters of this them as documented in the component reference.

I'm not aware of any undocumented theme parameters to override generic-dark dialog text...

--Kevin
User avatar
RokuKevin
Roku Engineering
 
Posts: 791
Joined: Tue Sep 22, 2009 2:29 pm

Re: Change title/text color on roMessageDialog?

Postby TheEndless » Mon Feb 28, 2011 4:23 pm

RokuKevin wrote:The generic-dark theme has an effect on dialogs and the keyboard screen. The keyboard screen allows you to override some of the parameters of this them as documented in the component reference.

I'm not aware of any undocumented theme parameters to override generic-dark dialog text...

--Kevin

If you can't change the dialog text, then the "generic-dark" theme is pretty useless with any channel that requires dialogs, because it uses dark gray text on a dark gray dialog. It's not an issue with the Netflix channel which uses the dark theme, so we were/are hoping there's a way to override it that's exposed in the SDK...
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), MainSqueeze (MAINSQUEEZE), iTunes Podcasts (ITPC), Twitch.tv (TWITCHTV), My Channels (MYCHANNELS)
User avatar
TheEndless
** Valued Community Member **
 
Posts: 8169
Joined: Mon Oct 04, 2004 10:15 am
Location: US


Return to Roku Developer Program

Who is online

Users browsing this forum: No registered users and 4 guests