Kodi Community Forum

Full Version: Extra images in DialogKeyboard.xml - a problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I wanted to have a glow fade in around each of the keys of the on-screen keyboard, but the button control doesn't support fading. So I tried to work around this by using an additional set of glowing keys (just images) that fade in and out according to which control has focus. So if the "S" button has focus, the corresponding glow image should fade in above it.

The problem is that this seems to break the dialog so that nothing gets focus at all. I've tried removing the group with all the glow images and that fixed it, but I've no idea why the images are causing a problem.

Any ideas?
Sounds like you've given the images an id that's clashing with the ones it normally uses.
I've tried giving them a variety of ids, even no ids at all - neither fixed the problem. Here's the xml. Ignore the placeholder labels, etc.

http://www.aeonproject.com/dropbin/DialogKeyboard.xml

TIA
I modded the PM3.HD virtual keyboard with this:

Code:
                <control type="image">
                    <description>'A' button</description>
                    <posx>192</posx>
                    <posy>42</posy>
                    <width>64</width>
                    <height>64</height>
                    <visible>Control.HasFocus(65)</visible>
                    <texture>button-focus-toggle-on.png</texture>
                </control>

It worked fine.

Cheers,
Jonathan
It's also the way the MediaStream keyboard works (with the richer theme)