<window>
	<defaultcontrol always="true">29</defaultcontrol>
	<controls>
	
	 <control type="group">
    <include>DialogAnimation</include>
    <visible>!Window.IsActive(virtualkeyboard) + !Window.IsActive(filebrowser) + !Window.IsActive(yesnodialog) + !Window.IsActive(okdialog) + !Window.IsActive(shutdownmenu)</visible>
		<control type="image">
			<description>background image</description>
			<include>FullscreenDimensions</include>
			<texture background="true">dialogs/pvr/bg_groupmanager.png</texture>
			<visible>!Player.HasMedia</visible>
		</control>
		<control type="image">
			<description>background image</description>
			<include>FullscreenDimensions</include>
			<texture background="true">dialogs/pvr/bg_groupmanager.png</texture>
			<colordiffuse>FAFFFFFF</colordiffuse>
			<visible>Player.HasMedia</visible>
		</control>

		<control type="label">
			<description>header label</description>
      <posx>231</posx>
      <posy>145</posy>
      <width>825</width>
      <height>40</height>
			<font>FontSize_32</font>
			<align>center</align>
			<aligny>center</aligny>
			<textcolor>white</textcolor>
			<shadowcolor>99000000</shadowcolor>
			<scroll>true</scroll>
			<scrollspeed>20</scrollspeed>
			<label>19143</label>
		</control>

		<control type="group" id="10002">
			<control type="group">
				<description>Channels Groups</description>
				<posx>233</posx>
				<posy>200</posy>
				<control type="label">
					<description>name label</description>
					<width>255</width>
					<height>37</height>
					<font>FontSize_18B</font>
					<align>center</align>
					<aligny>center</aligny>
					<textcolor>99white</textcolor>
					<shadowcolor>99000000</shadowcolor>
					<label>31350</label>
				</control>
				<control type="list" id="13">
					<posx>-2</posx>
					<posy>42</posy>
					<width>260</width>
					<height>308</height>
					<onup>13</onup>
					<ondown>13</ondown>
					<onleft>10001</onleft>
					<onright>11</onright>
					<scrolltime>200</scrolltime>
					<itemlayout height="44" width="260">
						<control type="label">
							<posx>10</posx>
							<posy>0</posy>
							<width>210</width>
							<height>40</height>
							<font>FontSize_18</font>
							<textcolor>77white</textcolor>
							<selectedcolor>selected</selectedcolor>
							<align>left</align>
							<aligny>center</aligny>
							<info>ListItem.Label</info>
						</control>
					</itemlayout>
					<focusedlayout height="44" width="400">
						<control type="image">
							<posx>0</posx>
							<posy>0</posy>
							<width>260</width>
							<height>40</height>
							<texture>buttons/settings_fo.png</texture>
						  <animation effect="fade" start="100" end="0" time="100" condition="!Control.HasFocus(13)">conditional</animation>
						</control>
						<control type="image">
							<posx>0</posx>
							<posy>0</posy>
							<width>260</width>
							<height>40</height>
						  <texture>dialogs/selectdialog/selected.png</texture>
						  <animation effect="fade" start="100" end="0" time="100" condition="Control.HasFocus(13)">conditional</animation>
						</control>
						<control type="label">
							<posx>10</posx>
							<posy>0</posy>
							<width>210</width>
							<height>40</height>
							<font>FontSize_18</font>
							<textcolor>white</textcolor>
							<selectedcolor>selected</selectedcolor>
							<align>left</align>
							<aligny>center</aligny>
							<info>ListItem.Label</info>
						</control>
					</focusedlayout>
				</control>
			</control>
	
			<control type="group">
				<description>Hidden TV Channels</description>
				<posx>511</posx>
				<posy>200</posy>
				<control type="label" id="21">
					<description>name label</description>
					<width>255</width>
					<height>37</height>
					<font>FontSize_18B</font>
					<align>center</align>
					<aligny>center</aligny>
					<textcolor>99white</textcolor>
					<shadowcolor>99000000</shadowcolor>
				</control>
				<control type="list" id="11">
					<posx>-2</posx>
					<posy>42</posy>
					<width>260</width>
					<height>308</height>
					<onup>11</onup>
					<ondown>11</ondown>
					<onleft>13</onleft>
					<onright>12</onright>
					<scrolltime>200</scrolltime>
					<itemlayout height="44" width="260">
						<control type="image">
							<posx>3</posx>
							<posy>3</posy>
							<width>34</width>
							<height>34</height>
						  <aspectratio align="center" aligny="center">keep</aspectratio>
							<texture fallback="windows/pvr/DefaultTV.png">$INFO[ListItem.Icon]</texture>
						</control>
						<control type="label">
							<posx>45</posx>
							<posy>0</posy>
							<width>210</width>
							<height>40</height>
							<font>FontSize_18</font>
							<textcolor>77white</textcolor>
							<selectedcolor>selected</selectedcolor>
							<align>left</align>
							<aligny>center</aligny>
							<label>$INFO[ListItem.ChannelNumber,,. ]$INFO[ListItem.ChannelName]</label>
						</control>
					</itemlayout>
					<focusedlayout height="44" width="260">
						<control type="image">
							<posx>0</posx>
							<posy>0</posy>
							<width>260</width>
							<height>40</height>
							<texture>buttons/settings_fo.png</texture>
						  <animation effect="fade" start="100" end="0" time="100" condition="!Control.HasFocus(11)">conditional</animation>
						</control>
						<control type="image">
							<posx>0</posx>
							<posy>0</posy>
							<width>260</width>
							<height>40</height>
						  <texture>dialogs/selectdialog/selected.png</texture>
						  <animation effect="fade" start="100" end="0" time="100" condition="Control.HasFocus(11)">conditional</animation>
						</control>
						<control type="image">
							<posx>3</posx>
							<posy>3</posy>
							<width>34</width>
							<height>34</height>
						  <aspectratio align="center" aligny="center">keep</aspectratio>
							<texture fallback="windows/pvr/DefaultTV.png">$INFO[ListItem.Icon]</texture>
						</control>
						<control type="label">
							<posx>45</posx>
							<posy>0</posy>
							<width>210</width>
							<height>40</height>
							<font>FontSize_18</font>
							<textcolor>white</textcolor>
							<selectedcolor>selected</selectedcolor>
							<align>left</align>
							<aligny>center</aligny>
							<label>$INFO[ListItem.ChannelNumber,,. ]$INFO[ListItem.ChannelName]</label>
						</control>
					</focusedlayout>
				</control>
			</control>
	
			<control type="group">
				<description>Visible TV Channels</description>
				<posx>789</posx>
				<posy>200</posy>
				<control type="label" id="22">
					<description>name label</description>
					<width>255</width>
					<height>37</height>
					<font>FontSize_18B</font>
					<align>center</align>
					<aligny>center</aligny>
					<textcolor>99white</textcolor>
					<shadowcolor>99000000</shadowcolor>
				</control>
				<control type="list" id="12">
					<posx>-2</posx>
					<posy>42</posy>
					<width>260</width>
					<height>308</height>
					<onup>12</onup>
					<ondown>12</ondown>
					<onleft>11</onleft>
					<onright>10001</onright>
					<scrolltime>200</scrolltime>
					<itemlayout height="44" width="260">
						<control type="image">
							<posx>3</posx>
							<posy>3</posy>
							<width>34</width>
							<height>34</height>
						  <aspectratio align="center" aligny="center">keep</aspectratio>
							<texture fallback="windows/pvr/DefaultTV.png">$INFO[ListItem.Icon]</texture>
						</control>
						<control type="label">
							<posx>45</posx>
							<posy>0</posy>
							<width>210</width>
							<height>40</height>
							<font>FontSize_18</font>
							<textcolor>77white</textcolor>
							<selectedcolor>selected</selectedcolor>
							<align>left</align>
							<aligny>center</aligny>
							<label>$INFO[ListItem.ChannelNumber,,. ]$INFO[ListItem.ChannelName]</label>
						</control>
					</itemlayout>
					<focusedlayout height="44" width="260">
						<control type="image">
							<posx>0</posx>
							<posy>0</posy>
							<width>260</width>
							<height>40</height>
							<texture>buttons/settings_fo.png</texture>
						  <animation effect="fade" start="100" end="0" time="100" condition="!Control.HasFocus(12)">conditional</animation>
						</control>
						<control type="image">
							<posx>0</posx>
							<posy>0</posy>
							<width>260</width>
							<height>40</height>
						  <texture>dialogs/selectdialog/selected.png</texture>
						  <animation effect="fade" start="100" end="0" time="100" condition="Control.HasFocus(12)">conditional</animation>
						</control>
						<control type="image">
							<posx>3</posx>
							<posy>3</posy>
							<width>34</width>
							<height>34</height>
						  <aspectratio align="center" aligny="center">keep</aspectratio>
							<texture fallback="windows/pvr/DefaultTV.png">$INFO[ListItem.Icon]</texture>
						</control>
						<control type="label">
							<posx>45</posx>
							<posy>0</posy>
							<width>210</width>
							<height>40</height>
							<font>FontSize_18</font>
							<textcolor>white</textcolor>
							<selectedcolor>selected</selectedcolor>
							<align>left</align>
							<aligny>center</aligny>
							<label>$INFO[ListItem.ChannelNumber,,. ]$INFO[ListItem.ChannelName]</label>
						</control>
					</focusedlayout>
				</control>
			</control>
		</control>		
		
	  <control type="group" id="10000">
			<posx>235</posx>
			<posy>540</posy>
	    <!-- Buttons -->
			<control type="grouplist" id="10001">
				<posx>0</posx>
				<posy>0</posy>
				<width>0</width>
				<height>0</height>
				<itemgap>0</itemgap>
				<align>left</align>
				<orientation>horizontal</orientation>
				<onleft>10001</onleft>
				<onright>10001</onright>
				<onup>10002</onup>
				<ondown>10002</ondown>
				<control type="button" id="26">
					<description>Add Group</description>
				  <label>31351</label>
				  <include>TopButton</include>
				</control>
				<control type="button" id="27">
					<description>Rename Group</description>
				  <label>31352</label>
				  <include>TopButton</include>
				</control>
				<control type="button" id="28">
					<description>Delete Group</description>
				  <label>31353</label>
				  <include>TopButton</include>
				</control>
				<control type="button" id="29">
					<description>Save</description>
				  <label>190</label>
				  <include>TopButton</include>
				</control>
			</control>
	    <!-- Buttons Labels -->
			<control type="grouplist">
				<posx>0</posx>
				<posy>0</posy>
				<height>70</height>
				<width>552</width>
				<itemgap>30</itemgap>
				<align>left</align>
				<orientation>horizontal</orientation>
				<control type="label">
					<description>Search Label</description>
					<height>62</height>
					<width min="10" max="552">auto</width>
					<font>FontSize_20</font>
					<textcolor>white</textcolor>
					<shadowcolor>99000000</shadowcolor>
			    <align>left</align>
			    <aligny>center</aligny>
					<scroll>false</scroll>
	        <label>$INFO[Control.GetLabel(26),․  ]</label>
					<animation effect="fade" start="100" end="30" time="200" tween="sine" easing="inout" condition="!Control.HasFocus(26)" reversible="true">Conditional</animation>
	        <animation effect="zoom" start="100" end="95" time="200" tween="sine" easing="inout" center="15,0" condition="!Control.HasFocus(26)" reversible="true">Conditional</animation>
				</control>
				<control type="label">
					<description>Cancel Label</description>
					<height>62</height>
					<width min="10" max="552">auto</width>
					<font>FontSize_20</font>
					<textcolor>white</textcolor>
					<shadowcolor>99000000</shadowcolor>
			    <align>left</align>
			    <aligny>center</aligny>
					<scroll>false</scroll>
	        <label>$INFO[Control.GetLabel(27),․  ]</label>
					<animation effect="fade" start="100" end="30" time="200" tween="sine" easing="inout" condition="!Control.HasFocus(27)" reversible="true">Conditional</animation>
	        <animation effect="zoom" start="100" end="95" time="200" tween="sine" easing="inout" center="15,0" condition="!Control.HasFocus(27)" reversible="true">Conditional</animation>
				</control>
				<control type="label">
					<description>Defaults Label</description>
					<height>62</height>
					<width min="10" max="552">auto</width>
					<font>FontSize_20</font>
					<textcolor>white</textcolor>
					<shadowcolor>99000000</shadowcolor>
			    <align>left</align>
			    <aligny>center</aligny>
					<scroll>false</scroll>
	        <label>$INFO[Control.GetLabel(28),․  ]</label>
					<animation effect="fade" start="100" end="30" time="200" tween="sine" easing="inout" condition="!Control.HasFocus(28)" reversible="true">Conditional</animation>
	        <animation effect="zoom" start="100" end="95" time="200" tween="sine" easing="inout" center="15,0" condition="!Control.HasFocus(28)" reversible="true">Conditional</animation>
				</control>
				<control type="label">
					<description>Defaults Label</description>
					<height>62</height>
					<width min="10" max="552">auto</width>
					<font>FontSize_20</font>
					<textcolor>white</textcolor>
					<shadowcolor>99000000</shadowcolor>
			    <align>left</align>
			    <aligny>center</aligny>
					<scroll>false</scroll>
	        <label>$INFO[Control.GetLabel(29),․  ]</label>
					<animation effect="fade" start="100" end="30" time="200" tween="sine" easing="inout" condition="!Control.HasFocus(29)" reversible="true">Conditional</animation>
	        <animation effect="zoom" start="100" end="95" time="200" tween="sine" easing="inout" center="15,0" condition="!Control.HasFocus(29)" reversible="true">Conditional</animation>
				</control>
			</control>
			<control type="group">
				<posx>810</posx>
				<posy>0</posy>
				<animation effect="fade" end="30" condition="true">Conditional</animation>
				<control type="label">
					<description>Page Count Label</description>
					<width>300</width>
					<height>57</height>
					<font>FontSize_18</font>
					<textcolor>white</textcolor>
					<shadowcolor>99000000</shadowcolor>
					<scroll>false</scroll>
					<align>right</align>
					<aligny>center</aligny>
					<label>$INFO[Container.NumItems,, $LOCALIZE[31025]]</label>
				  <visible>IntegerGreaterThan(Container.NumItems,0)</visible>
				</control>
			</control>
	  </control>

		<control type="label" id="20">
			<description>Fake Label used to pass on name label</description>
			<visible>false</visible>
		</control>
		
	 </control>
		
	</controls>
</window>