Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
dspangle
Level 7

MiniKeyboard text colors

am i crazy or do the keyColor and focusedKeyColor attributes on the MiniKeyboard widget not work? my use is:

<MiniKeyboard
id="keyboard"
translation="[48,150]"
focusBitmapUri="pkg:/images/hd/focus-key.9.png"
keyboardBitmapUri="pkg:/images/hd/miniKeyboard.png"
keyColor="0xffffff"
focusedKeyColor="0xffffff"
lowerCase="false"
/>

but the text in a key is staying grey when not focused and staying black when a key has focus. i just want it all white. am i just mistaken on what these attributes are customizing?
0 Kudos
3 REPLIES 3
jedashford
Level 9

Re: MiniKeyboard text colors

I couldn't get these to work on the full keyboard either.
0 Kudos
jedashford
Level 9

Re: MiniKeyboard text colors

nor the ButtonGroup
0 Kudos
jedashford
Level 9

Re: MiniKeyboard text colors

I did some playing around this morning and it looks like the API is just not accepting WHITE 0xffffff just doesn't work at all. If you add 95% opacity then it does work and in all cases for me looks very white:

Works:
dialog.messageColor = "0xF2FFFFFF"


Doesn't work:
dialog.messageColor = "0xFFFFFFFF"


Someone on the scene graph team might wanna reproduce / add to a defect queue.
0 Kudos