<?xml version="1.0" encoding="UTF-8"?>
<window>
    <defaultcontrol always="true">13</defaultcontrol>
    <controls>
        <!--background-->
        <include>globalBackground</include>
        <control type="group">
            <posx>col-3-begin</posx>
            <posy>row-3-begin</posy>
            <!--animations-->
            <include>modalDialogInOutVertical</include>
            <!--content provider title / info-->
            <control type="image">
                <posx>0</posx>
                <posy>0</posy>
                <width>20-col</width>
                <height>2-row</height>
                <texture>colors/white.png</texture>
                <colordiffuse>highlight</colordiffuse>
                <aspectratio>stretch</aspectratio>
            </control>
            <control type="image">
                <posx>0</posx>
                <posy>2-row</posy>
                <width>20-col</width>
                <height>21-row</height>
                <texture>colors/black.png</texture>
                <colordiffuse>overlay</colordiffuse>
                <aspectratio>stretch</aspectratio>
            </control>
            <control type="image">
                <posx>4-col</posx>
                <posy>2-row</posy>
                <width>6-col-textbox</width>
                <height>21-row</height>
                <texture>colors/black.png</texture>
                <colordiffuse>overlay</colordiffuse>
                <aspectratio>stretch</aspectratio>
            </control>
            <control type="image">
                <posx>10-col</posx>
                <posy>2-row</posy>
                <width>6-col-textbox</width>
                <height>21-row</height>
                <texture>colors/black.png</texture>
                <colordiffuse>overlay</colordiffuse>
                <aspectratio>stretch</aspectratio>
            </control>
            <control type="image">
                <posx>16-col</posx>
                <posy>2-row</posy>
                <width>4-col</width>
                <height>21-row</height>
                <texture>colors/black.png</texture>
                <colordiffuse>overlay</colordiffuse>
                <aspectratio>stretch</aspectratio>
            </control>
            <control type="label">
                <posx>24</posx>
                <posy>0</posy>
                <width>16-col</width>
                <height>2-row</height>
                <aligny>center</aligny>
                <font>dialogTitle</font>
                <label>$LOCALIZE[19143]</label>
                <textcolor>textActive</textcolor>
                <shadowcolor>-</shadowcolor>
            </control>
            <!--group menu-->
            <control type="image">
                <posx>0</posx>
                <posy>2-row</posy>
                <width>4-col-textbox</width>
                <height>2-row</height>
                <texture>colors/white.png</texture>
                <aspectratio>stretch</aspectratio>
                <colordiffuse>44FFFFFF</colordiffuse>
            </control>
            <control type="label">
                <description>name label</description>
                <posx>24</posx>
                <posy>2-row</posy>
                <width>6-col</width>
                <height>2-row</height>
                <aligny>center</aligny>
                <font>itemSubTitle</font>
                <textcolor>black</textcolor>
                <label>$LOCALIZE[31194]</label>
            </control>
            <control type="group">
                <posx>0</posx>
                <posy>3-row</posy>
                <control type="list" id="13">
                    <posx>0</posx>
                    <posy>1-row</posy>
                    <width>4-col-textbox</width>
                    <height>21-row</height>
                    <onright>12</onright>
                    <itemlayout height="2-row" width="4-col">
                        <control type="label">
                            <posx>24</posx>
                            <posy>2</posy>
                            <width>4-col-gutter</width>
                            <height>2-row</height>
                            <aligny>center</aligny>
                            <font>buttonTitle</font>
                            <textcolor>textActive</textcolor>
                            <label>$INFO[ListItem.label]</label>
                            <shadowcolor>-</shadowcolor>
                        </control>
                    </itemlayout>
                    <focusedlayout height="2-row" width="4-col">
                        <control type="image">
                            <visible>!control.hasfocus(13)</visible>
                            <posx>0</posx>
                            <posy></posy>
                            <width>4-col</width>
                            <height>2-row</height>
                            <aspectratio>stretch</aspectratio>
                            <texture>colors/white.png</texture>
                            <colordiffuse>77FFFFFF</colordiffuse>
                        </control>
                        <control type="image">
                            <visible>control.hasfocus(13)</visible>
                            <posx>0</posx>
                            <posy>0</posy>
                            <width>4-col</width>
                            <height>2-row</height>
                            <aspectratio>stretch</aspectratio>
                            <texture>colors/white.png</texture>
                        </control>
                        <control type="label">
                            <posx>24</posx>
                            <posy>0</posy>
                            <width>4-col-gutter</width>
                            <height>2-row</height>
                            <aligny>center</aligny>
                            <font>buttonTitle</font>
                            <textcolor>black</textcolor>
                            <label>$INFO[ListItem.label]</label>
                            <shadowcolor>-</shadowcolor>
                        </control>
                    </focusedlayout>
                </control>
            </control>

            <!--grouped channels list-->
            <control type="group">
                <description>Grouped Channels list</description>
                <posx>4-col</posx>
                <posy>2-row</posy>
                <control type="image">
                    <posx>0</posx>
                    <posy>0</posy>
                    <width>6-col-textbox</width>
                    <height>2-row</height>
                    <texture>colors/white.png</texture>
                    <aspectratio>stretch</aspectratio>
                    <colordiffuse>44FFFFFF</colordiffuse>
                </control>
                <control type="label" id="22">
                    <description>name label</description>
                    <posx>0</posx>
                    <posy>0</posy>
                    <width>6-col-gutter</width>
                    <height>2-row</height>
                    <aligny>center</aligny>
                    <align>center</align>
                    <font>itemSubTitle</font>
                    <textcolor>black</textcolor>
                </control>
                <control type="panel" id="12">
                    <posx>0</posx>
                    <posy>2-row</posy>
                    <width>6-col-textbox</width>
                    <height>19-row</height>
                    <onleft>13</onleft>
                    <onright>11</onright>
                    <itemlayout height="2-row" width="8-col">
                        <control type="image">
                            <posx>0</posx>
                            <posy>0</posy>
                            <width>2-row</width>
                            <height>2-row</height>
                            <aspectratio scalediffuse="false">stretch</aspectratio>
                            <texture fallback="colors/offblack.png" border="0">$INFO[ListItem.Icon]</texture>
                        </control>
                        <control type="label">
                            <posx>1-col-indent</posx>
                            <posy>0</posy>
                            <width>5-col-gutter</width>
                            <height>2-row</height>
                            <aligny>center</aligny>
                            <font>buttonTitle</font>
                            <textcolor>textActive</textcolor>
                            <shadowcolor>-</shadowcolor>
                            <label>$INFO[ListItem.ChannelNumber,(,) - ]$INFO[ListItem.ChannelName]</label>
                        </control>
                    </itemlayout>
                    <focusedlayout height="2-row" width="8-col">
                        <control type="image">
                            <posx>0</posx>
                            <posy>0</posy>
                            <width>2-row</width>
                            <height>2-row</height>
                            <aspectratio scalediffuse="false">stretch</aspectratio>
                            <texture fallback="colors/white.png" border="0">$INFO[ListItem.Icon]</texture>
                            <animation type="focus" loop="false" reversible="false">
                                <effect type="fade" time="500"/>
                                <effect type="rotatey" end="360" center="33" tween="back" easing="out" time="1000"/>
                            </animation>
                        </control>
                        <control type="image">
                            <posx>72</posx>
                            <posy>0</posy>
                            <width>502</width>
                            <height>2-row</height>
                            <aspectratio>stretch</aspectratio>
                            <texture>colors/white.png</texture>
                            <bordersize>0</bordersize>
                            <colordiffuse>ffffffff</colordiffuse>
                        </control>
                        <control type="label">
                            <posx>1-col-indent</posx>
                            <posy>0</posy>
                            <width>5-col-gutter</width>
                            <height>2-row</height>
                            <aligny>center</aligny>
                            <font>buttonTitle</font>
                            <textcolor>black</textcolor>
                            <selectedcolor>black</selectedcolor>
                            <shadowcolor>-</shadowcolor>
                            <label>$INFO[ListItem.ChannelNumber,(,) - ]$INFO[ListItem.ChannelName]</label>
                        </control>
                    </focusedlayout>
                </control>
            </control>
            <!--channels list-->
            <control type="group">
                <description>Channels list</description>
                <posx>10-col</posx>
                <posy>2-row</posy>
                <control type="image">
                    <posx>0</posx>
                    <posy>0</posy>
                    <width>6-col-textbox</width>
                    <height>2-row</height>
                    <texture>colors/white.png</texture>
                    <aspectratio>stretch</aspectratio>
                    <colordiffuse>44FFFFFF</colordiffuse>
                </control>
                <control type="label" id="21">
                    <description>name label</description>
                    <posx>0</posx>
                    <posy>0</posy>
                    <width>6-col</width>
                    <height>2-row</height>
                    <aligny>center</aligny>
                    <align>center</align>
                    <font>itemSubTitle</font>
                    <textcolor>black</textcolor>
                </control>
                <control type="panel" id="11">
                    <posx>0</posx>
                    <posy>2-row</posy>
                    <width>6-col-textbox</width>
                    <height>19-row</height>
                    <onleft>12</onleft>
                    <onright>9001</onright>
                    <itemlayout height="2-row" width="8-col">
                        <control type="image">
                            <posx>0</posx>
                            <posy>0</posy>
                            <width>2-row</width>
                            <height>2-row</height>
                            <aspectratio scalediffuse="false">stretch</aspectratio>
                            <texture fallback="colors/offblack.png" border="0">$INFO[ListItem.Icon]</texture>
                        </control>
                        <control type="label">
                            <posx>1-col-indent</posx>
                            <posy>0</posy>
                            <width>5-col-gutter</width>
                            <height>2-row</height>
                            <aligny>center</aligny>
                            <font>buttonTitle</font>
                            <textcolor>textActive</textcolor>
                            <shadowcolor>-</shadowcolor>
                            <label>$INFO[ListItem.ChannelNumber,(,) - ]$INFO[ListItem.ChannelName]</label>
                        </control>
                    </itemlayout>
                    <focusedlayout height="2-row" width="8-col">
                        <control type="image">
                            <posx>0</posx>
                            <posy>0</posy>
                            <width>2-row</width>
                            <height>2-row</height>
                            <aspectratio scalediffuse="false">stretch</aspectratio>
                            <texture fallback="colors/white.png" border="0">$INFO[ListItem.Icon]</texture>
                            <animation type="focus" loop="false" reversible="false">
                                <effect type="fade" time="500"/>
                                <effect type="rotatey" end="360" center="33" tween="back" easing="out" time="1000"/>
                            </animation>
                        </control>
                        <control type="image">
                            <posx>72</posx>
                            <posy>0</posy>
                            <width>502</width>
                            <height>2-row</height>
                            <aspectratio>stretch</aspectratio>
                            <texture>colors/white.png</texture>
                            <bordersize>0</bordersize>
                            <colordiffuse>ffffffff</colordiffuse>
                        </control>
                        <control type="label">
                            <posx>1-col-indent</posx>
                            <posy>0</posy>
                            <width>5-col-gutter</width>
                            <height>2-row</height>
                            <aligny>center</aligny>
                            <font>buttonTitle</font>
                            <textcolor>black</textcolor>
                            <selectedcolor>black</selectedcolor>
                            <shadowcolor>-</shadowcolor>
                            <label>$INFO[ListItem.ChannelNumber,(,) - ]$INFO[ListItem.ChannelName]</label>
                        </control>
                    </focusedlayout>
                </control>
            </control>
            <!--Dialog controls-->
            <control type="image">
                <posx>16-col</posx>
                <posy>2-row</posy>
                <width>4-col</width>
                <height>2-row</height>
                <texture>colors/white.png</texture>
                <aspectratio>stretch</aspectratio>
                <colordiffuse>44FFFFFF</colordiffuse>
            </control>
            <control type="label">
                <posx>16-col</posx>
                <posy>2-row</posy>
                <width>4-col</width>
                <height>2-row</height>
                <aligny>center</aligny>
                <align>center</align>
                <font>itemSubTitle</font>
                <textcolor>black</textcolor>
                <label>$LOCALIZE[31179]</label>
            </control>
            <control type="panel" id="9001">
                <posx>16-col</posx>
                <posy>4-row</posy>
                <width>4-col</width>
                <height>8-row</height>
                <itemgap>3</itemgap>
                <orientation>vertical</orientation>
                <onleft>12</onleft>
                <itemlayout width="8-col" height="2-row">
                    <control type="label">
                        <posx>0</posx>
                        <posy>0</posy>
                        <width>1-col</width>
                        <height>2-row</height>
                        <align>center</align>
                        <aligny>center</aligny>
                        <font>symbolLarge</font>
                        <textcolor>textActive</textcolor>
                        <label>$INFO[ListItem.label2]</label>
                    </control>
                    <control type="label">
                        <posx>1-col-indent</posx>
                        <posy>-1</posy>
                        <width>4-col-gutter</width>
                        <height>2-row</height>
                        <aligny>center</aligny>
                        <font>buttonTitle</font>
                        <textcolor>textActive</textcolor>
                        <label>$INFO[ListItem.label]</label>
                    </control>
                </itemlayout>
                <focusedlayout width="8-col" height="2-row">
                    <control type="image">
                        <posx>0</posx>
                        <posy>0</posy>
                        <width>1-col-textbox</width>
                        <height>2-row</height>
                        <aspectratio>stretch</aspectratio>
                        <texture>colors/white.png</texture>
                        <colordiffuse>highlight</colordiffuse>
                        <include>spinFocusIcon</include>
                    </control>
                    <control type="image">
                        <posx>1-col</posx>
                        <posy>0</posy>
                        <width>5-col-textbox</width>
                        <height>2-row</height>
                        <aspectratio>stretch</aspectratio>
                        <texture>colors/white.png</texture>
                    </control>
                    <control type="label">
                        <posx>0</posx>
                        <posy>0</posy>
                        <width>1-col</width>
                        <height>2-row</height>
                        <align>center</align>
                        <aligny>center</aligny>
                        <font>symbolLarge</font>
                        <textcolor>textActive</textcolor>
                        <label>$INFO[ListItem.label2]</label>
                        <shadowcolor>-</shadowcolor>
                    </control>
                    <control type="label">
                        <posx>1-col-indent</posx>
                        <posy>-1</posy>
                        <width>5-col-gutter</width>
                        <height>2-row</height>
                        <aligny>center</aligny>
                        <font>buttonTitle</font>
                        <textcolor>black</textcolor>
                        <label>$INFO[ListItem.label]</label>
                        <shadowcolor>-</shadowcolor>
                    </control>
                </focusedlayout>
                <content>
                    <item id="1">
                        <description>Add group</description>
                        <label>31099</label>
                        <label2></label2>
                        <thumb>-</thumb>
                        <onclick>SendClick(26)</onclick>
                    </item>
                    <item id="2">
                        <description>Rename Group</description>
                        <label>31100</label>
                        <label2></label2>
                        <thumb>-</thumb>
                        <onclick>SendClick(27)</onclick>
                    </item>
                    <item id="3">
                        <description>Delete Group</description>
                        <label>31101</label>
                        <label2></label2>
                        <thumb>-</thumb>
                        <onclick>SendClick(28)</onclick>
                    </item>
                    <item id="4">
                        <description>OK</description>
                        <label>186</label>
                        <label2></label2>
                        <thumb>-</thumb>
                        <onclick>SendClick(29)</onclick>
                    </item>
                </content>
            </control>
        </control>
        <!--hidden dialog controls-->
        <control type="group">
            <visible>false</visible>
            <control type="button" id="26">
                <description>Add Group</description>
            </control>
            <control type="button" id="27">
                <description>Rename Group</description>
            </control>
            <control type="button" id="28">
                <description>Delete Group</description>
            </control>
            <control type="button" id="29">
                <description>OK</description>
            </control>
            <control type="label" id="20">
                <description>Fake Label used to pass on name label</description>
            </control>
        </control>
        <!--debugging-->
        <include>DebugGrid</include>
        <control type="label">
            <include>DialogID</include>
            <label>DialogPVRGroupManager.xml</label>
        </control>
    </controls>
</window>