v16 WindowXML Nested Control Button on focusedLayout
#1
I have been trying to find a way, if possible to have a separate functioning button on a list item. I have been able to add one, but I can not focus from the list to the button. When the item has focus both the control list index and the button have focus, but the selected controlID is the list control.

My layout is as below. Basically i need to be able to navigate from controlid 1 to controlid 12/13 and then back to 1. Is this possible?

PHP Code:
<control type="grouplist">
    <
control type="list" id="1">
        <
itemlayout width="222" height="170">
            <
onup>12</onup>
            <
control type="group" id="10">
                <
control type="image">
                    <
posx>0</posx>
                    <
posy>0</posy>
                    <
top>0</top>
                    <
right>0</right>
                    <
aspectratio align="left" aligny="top">scale</aspectratio>
                    <
bordertexture border="2">myborder.png</bordertexture>
                    <
bordersize>2</bordersize>
                    <
texture background="true">mmyimage.png</texture>                             
                </
control>
                <
control type="image">
                    <
posx>0</posx>
                    <
posy>0</posy>
                    <
top>5</top>
                    <
right>5</right>
                    <
width>40</width>
                    <
height>40</height>
                    <
aspectratio align="left" aligny="top">keep</aspectratio>
                    <
texture>add_to_favorites.png</texture>                 
                </
control>
            </
control>
        </
itemlayout>
        <
focusedlayout width="222" height="170">
            <
control type="group" id="11">
                <
control type="image">
                    <
posx>0</posx>
                    <
posy>0</posy>
                    <
aspectratio align="center" aligny="bottom">scale</aspectratio>
                    <
bordertexture border="8">myborder.png</bordertexture>
                    <
bordersize>8</bordersize>
                    <
texture background="true">mmyimage.png</texture>
                    <
animation reversible="false" effect="zoom" end="106" center="auto" time="150">Focus</animation>
                </
control>
            </
control>
            <
control type="group" id="12">
                <
ondown>1</ondown>
                <
control type="button" id="13"
                    <
posx>0</posx>
                    <
posy>0</posy>
                    <
right>5</right>
                    <
top>5</top>
                    <
width>40</width>
                    <
height>40</height>
                    <
visible>true</visible>
                    <
texturefocus>add_to_favorites.png</texturefocus>
                    <
texturenofocus>add_to_favorites_focused.png</texturenofocus>
                    <
textcolor>DDFFFFFF</textcolor>
                    <
disabledcolor>80FFFFFF</disabledcolor>
                    <
align>center</align>
                    <
aligny>center</aligny>
                    <
textoffsetx></textoffsetx>
                    <
textoffsety></textoffsety>
                    <
pulseonselect></pulseonselect>
                </
control>
            </
control>
        </
focusedlayout>
    </
control>
</
control
Reply
#2
nope, kodi doesn't support buttons in lists.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#3
Understood, thanks
Reply

Logout Mark Read Team Forum Stats Members Help
WindowXML Nested Control Button on focusedLayout0