<?xml version="1.0" encoding="utf-8"?>
<window>
    <defaultcontrol always="true">4</defaultcontrol>
    <controls>
        <control type="group">
            <visible>!Window.IsVisible(FileBrowser)</visible>
            <animation type="TYPE" condition="Window.IsVisible(DialogPVRGroupManager.xml)" reversible="false">
                <effect type="slide" end="-1500,0" time="200" />
            </animation>
            <animation type="TYPE" condition="!Window.IsVisible(DialogPVRGroupManager.xml)" reversible="false">
                <effect type="slide" start="-1500,0" time="200" />
            </animation>
            <animation type="WindowClose">
                <effect type="fade" time="300" />
                <effect type="slide" end="+1500,0" time="300" />
            </animation>
            <animation type="WindowOpen">
                <effect type="fade" time="300" />
                <effect type="slide" start="+1500,0" time="300" />
            </animation>
            <control type="label">
				<left>180</left>
				<include>ViewMainTitle</include>
                <label>$LOCALIZE[19199]</label>
            </control>
            <control type="image">
				<left>25</left>
				<top>440</top>
				<width>145</width>
				<height>165</height>
				<texture>tile.png</texture>
			</control>
			<control type="image">
				<left>25</left>
				<top>445</top>
				<width>145</width>
				<height>145</height>
				<texture>DefaultTvChannels.png</texture>
				<bordersize>20</bordersize>
                <visible>String.IsEmpty(Window.Property(IsRadio))</visible>
            </control>
            <control type="image">
				<left>25</left>
				<top>445</top>
				<width>145</width>
				<height>145</height>
				<texture>DefaultRadio.png</texture>
				<bordersize>20</bordersize>
				<visible>!String.IsEmpty(Window.Property(IsRadio))</visible>
            </control>
            <!-- Channel List -->
			<control type="group">
                <left>180</left>
                <top>290</top>
                <!--  Channel Nr Backgroud -->
				<control type="image">
                    <width>45</width>
                    <height>315</height>
                    <texture>other_textures/black-back.png</texture>
                </control>
				<!--  Channel Name Backgroud -->
				<control type="image">
					<left>50</left>
                    <width>300</width>
                    <height>315</height>
                    <texture>music_fanart_diffuse.png</texture>
                </control>
                <!--  List -->
				<control type="list" id="20">
                    <width>350</width>
                    <height>315</height>
                    <onup>20</onup>
                    <ondown>20</ondown>
                    <onleft>9000</onleft>
                    <onright>7</onright>
                    <pagecontrol>60</pagecontrol>
                    <scrolltime>200</scrolltime>
                    <itemlayout height="45" width="350">
                        <control type="label">
							<left>0</left>
							<width>45</width>
							<align>center</align>
							<font>List_Unfocused</font>
							<label>$INFO[ListItem.Property(Number)]</label>
						</control>
						<control type="label">
							<left>60</left>
							<width>280</width>
							<font>List_Unfocused</font>
							<label>$INFO[ListItem.Property(Name)]</label>
						</control>
					</itemlayout>
                    <focusedlayout height="45" width="350">
                        <control type="image">
                            <width>45</width>
                            <height>45</height>
                            <texture>tile.png</texture>
                            <animation effect="fade" start="100" end="50" time="0" condition="!Control.HasFocus(20)">conditional</animation>
                        </control>
                        <control type="image">
                            <left>50</left>
							<width>300</width>
                            <height>45</height>
                            <texture>tile.png</texture>
                            <animation effect="fade" start="100" end="50" time="0" condition="!Control.HasFocus(20)">conditional</animation>
                        </control>
                        <control type="label">
							<left>0</left>
							<width>45</width>
							<align>center</align>
							<font>List_Focused</font>
							<label>$INFO[ListItem.Property(Number)]</label>
							<textcolor>Accent</textcolor>
						</control>
						<control type="label">
							<left>60</left>
							<width>280</width>
							<font>List_Focused</font>
							<label>$INFO[ListItem.Property(Name)]</label>
							<textcolor>Accent</textcolor>
						</control>
                    </focusedlayout>
                </control>
            </control>
          	<control type="image">
					<left>545</left>
					<top>290</top>
					<width>450</width>
					<height>315</height>
					<texture>music_fanart_diffuse.png</texture>
			</control>
			<control type="image">
				<left>545</left>
				<top>335</top>
				<width>450</width>
				<height>45</height>
				<texture>other_textures/buttonfo.png</texture>
				<visible>Control.HasFocus(8)</visible>
			</control>
			<!-- Channel Settings List -->
			<control type="group" id="9002">
				<left>545</left>
				<top>290</top>
				<orientation>vertical</orientation>
				<control type="radiobutton" id="7">
					<description>Channel activated</description>
					<width>450</width>
					<height>45</height>
					<align>left</align>
					<font>List_Settings</font>
					<label>19074</label>
					<onleft>20</onleft>
					<onright>9003</onright>
					<onup>31</onup>
					<ondown>8</ondown>
					<focusedcolor>Accent</focusedcolor>
				</control>
				<control type="edit" id="8">
					<description>Channel name</description>
					<left>20</left>
					<top>45</top>
					<width>410</width>
					<height>45</height>
					<aligny>center</aligny>
					<font>List_Settings</font>
					<textcolor>white</textcolor>
					<focusedcolor>Accent</focusedcolor>
					<label>19201</label>
					<onright>9003</onright>
					<onleft>20</onleft>
					<onup>7</onup>
					<ondown>12</ondown>
				</control>
				<control type="radiobutton" id="12">
					<description>EPG activated</description>
					<top>90</top>
					<width>450</width>
					<height>45</height>
					<align>left</align>
					<font>List_Settings</font>
					<label>19206</label>
					<onright>9003</onright>
					<onleft>20</onleft>
					<onup>8</onup>
					<ondown>13</ondown>
					<focusedcolor>Accent</focusedcolor>
				</control>
				<control type="spincontrolex" id="13">
					<description>EPG source</description>
					<top>135</top>
					<width>450</width>
					<height>45</height>
					<label>19200</label>
					<onright>9003</onright>
					<onleft>20</onleft>
					<onup>12</onup>
					<ondown>14</ondown>
					<font>List_Settings</font>
					<focusedcolor>Accent</focusedcolor>
					<textureup>other_textures/arrowupfo.png</textureup>
					<texturedown>other_textures/arrowdownfo.png</texturedown>
					<textureupfocus>other_textures/arrowupg.png</textureupfocus>
					<texturedownfocus>other_textures/arrowdowng.png</texturedownfocus>
				</control>
				<control type="radiobutton" id="14">
					<description>Parental locked</description>
					<top>180</top>
					<width>450</width>
					<height>45</height>
					<align>left</align>
					<font>List_Settings</font>
					<label>19267</label>
					<onright>9003</onright>
					<onleft>20</onleft>
					<onup>13</onup>
					<ondown>9</ondown>
					<focusedcolor>Accent</focusedcolor>
				</control>
				<control type="button" id ="9">
					<description>Channel logo Button</description>
					<top>225</top>
					<width>450</width>
					<height>90</height>
					<font>List_Settings</font>
					<focusedcolor>Accent</focusedcolor>
					<label>19202</label>
					<align>left</align>
					<aligny>top</aligny>
					<onleft>20</onleft>
					<onright>9003</onright>
					<onup>14</onup>
					<ondown>7</ondown>
				</control>
			</control>
			<!-- Channel Logo -->
			<control type="image" id ="10">
				<description>Current Channel Icon</description>
				<left>885</left>
				<top>515</top>
				<width>90</width>
				<height>90</height>
				<aspectratio>keep</aspectratio>
				<info>ListItem.Property(Icon)</info>
			</control>
			<!-- Edit , delete and add channel bttons-->
			<control type="grouplist" id="9003">
				<left>1000</left>
				<top>290</top>
				<onup>9010</onup>
				<ondown>9010</ondown>
				<onright>4</onright>
				<onleft>7</onleft>
				<orientation>vertical</orientation>
				<control type="button" id="31">
					<description>New channel Button</description>
					<width>230</width>
					<font>Panel_Info</font>
					<label>19204</label>
					<texturefocus>button.png</texturefocus>
					<texturenofocus>tile.png</texturenofocus>
					<focusedcolor>White</focusedcolor>
				</control>
			</control>
			<!-- Group Management & Radio Channels Buttons-->
			<control type="grouplist" id="9010">
				<left>1000</left>
				<top>510</top>
				<width>230</width>
				<height>145</height>
				<itemgap>5</itemgap>
				<onright>4</onright>
				<onleft>9002</onleft>
				<onup>9003</onup>
				<ondown>9003</ondown>
				<control type="button" id="30">
					<description>Group Manager Button</description>
					<width>230</width>
					<label>19205</label>
					<font>Panel_Info</font>
					<texturefocus>button.png</texturefocus>
					<texturenofocus>tile.png</texturenofocus>
					<focusedcolor>White</focusedcolor>
				</control>
				<control type="button" id="34">
					<description>TV/Radio Button</description>
					<width>230</width>
					<visible>String.IsEmpty(Window.Property(IsRadio))</visible>
					<label>19024</label>
					<font>Panel_Info</font>
					<texturefocus>button.png</texturefocus>
					<texturenofocus>tile.png</texturenofocus>
					<focusedcolor>White</focusedcolor>
				</control>
				<control type="button" id="34">
					<description>TV/Radio Button</description>
					<width>230</width>
					<visible>!String.IsEmpty(Window.Property(IsRadio))</visible>
					<label>19023</label>
					<font>Panel_Info</font>
					<texturefocus>button.png</texturefocus>
					<texturenofocus>tile.png</texturenofocus>
					<focusedcolor>White</focusedcolor>
				</control>
			</control>
            <!-- Channel List Scrollbar -->
			<control type="scrollbar" id="60">
                <left>535</left>
                <top>290</top>
                <width>5</width>
                <height>315</height>
                <texturesliderbackground></texturesliderbackground>
                <textureslidernib>bar.png</textureslidernib>
                <textureslidernibfocus>scroll_nib.png</textureslidernibfocus>
                <texturesliderbar></texturesliderbar>
                <texturesliderbarfocus></texturesliderbarfocus>
                <showonepage>true</showonepage>
                <orientation>vertical</orientation>>
            </control>
            <!-- OK, Apply and Cancel Buttons -->
			<control type="grouplist" id="9000">
                <left>25</left>
				<top>290</top>
				<width>145</width>
				<height>145</height>
				<itemgap>5</itemgap>
                <onright>20</onright>
				<onleft>31</onleft>
                <control type="button" id="4">
                    <description>OK Button</description>
                    <width>145</width>
                    <label>186</label>
                    <textoffsetx>10</textoffsetx>
					<font>Panel_Hint</font>						
					<align>center</align>
					<texturefocus>button.png</texturefocus>
					<texturenofocus>tile.png</texturenofocus>
					<focusedcolor>White</focusedcolor>
                </control>
                <control type="button" id="5">
                    <description>Apply changes Button</description>
                    <width>145</width>
                    <label>$LOCALIZE[31025]</label>
                    <textoffsetx>10</textoffsetx>
					<font>Panel_Hint</font>						
					<align>center</align>
					<texturefocus>button.png</texturefocus>
					<texturenofocus>tile.png</texturenofocus>
					<focusedcolor>White</focusedcolor>
                </control>
                <control type="button" id="6">
                    <description>Cancel Button</description>
                    <width>145</width>
                    <label>222</label>
                    <textoffsetx>10</textoffsetx>
					<font>Panel_Hint</font>						
					<align>center</align>
					<texturefocus>button.png</texturefocus>
					<texturenofocus>tile.png</texturenofocus>
					<focusedcolor>White</focusedcolor>
                </control>
            </control>
        </control>
    </controls>
</window>