<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<window>
	<id>747</id>
	<defaultcontrol>7</defaultcontrol>
	<allowoverlay>yes</allowoverlay>
	<define>#header.label:6035</define>	
	<define>#header.background:hover_my tv.png</define>
<controls>

	<import>common.window.xml</import>

  <control>
    <description>VIEWPORT</description>
    <type>image</type>
    <id>0</id>
		<posX>10</posX>
		<posY>145</posY>
		<width>1903</width>
		<height>897</height>
    <texture>panel_tv.png</texture>       
		<animation effect="fade" time="250">WindowOpen</animation>
		<animation effect="fade" time="250">WindowClose</animation>
  </control>
	
  <control>
    <id>0</id>
    <type>image</type>
    <posX>66</posX>
    <posY>34</posY>
    <width>61</width>
    <height>57</height>
    <texture>icon_tv.png</texture>
    <animation effect="fade" time="250">WindowOpen</animation>
    <animation effect="fade" time="250">WindowClose</animation>
  </control>

	<import>common.time.xml</import>
	
	<control>
		<description>buttons</description>
		<type>group</type>
		<posX>122</posX>
		<posY>321</posY>
		<dimColor>ffffffff</dimColor>
		<layout>StackLayout(7, Vertical, true)</layout>
    <animation effect="fade" time="250">WindowOpen</animation>
    <animation effect="fade" time="250">WindowClose</animation>
		  <control Style="SettingsButton">
				<description>Search Title</description>
				<type>button</type>
				<id>7</id>
				<label>6032</label>
				<onup>17</onup>
				<ondown>8</ondown>
				<onright>50</onright>
			</control>
		  <control Style="SettingsButton">
				<description>Search by keyword</description>
				<type>button</type>
				<id>8</id>
				<label>6033</label>
				<onup>7</onup>
				<ondown>9</ondown>
				<onright>50</onright>
			</control>
		  <control Style="SettingsButton">
				<description>Search by genre</description>
				<type>button</type>
				<id>9</id>
				<label>6034</label>
				<onup>8</onup>
				<ondown>10</ondown>
				<onright>50</onright>
			</control>
		</control>

	<control Style="smallTitle">
		<description>Selected item Label</description>
		<type>fadelabel</type>
		<id>1</id>
		<posX>510</posX>
		<posY>1015</posY>
		<label>#selecteditem</label>
		<visible>Control.IsVisible(50)</visible>
		<animation effect="fade" time="250">WindowOpen</animation>
		<animation effect="fade" time="250">WindowClose</animation>
 		<visible>string.equals(#TV.Scheduled.Title,)</visible>
	</control>
	
	<control>
		<description>status</description>
		<type>label</type>
		<id>2</id>
		<posX>-2000</posX>
		<posY>87</posY>
		<label>6035</label>
		<font>font16</font>
		<align>right</align>
		<textcolor>ffffffff</textcolor>
	</control>

	<control>
		<type>group</type>
		<description>group element</description>
		<animation effect="fade" time="250">WindowOpen</animation>
		<animation effect="fade" time="250">WindowClose</animation>
		<dimColor>ffffffff</dimColor>
		
			<control>
				<description>listcontrol</description>
				<type>listcontrol</type>
				<id>50</id>
				<posX>918</posX>
				<posY>219</posY>
				<height>800</height>
				<width>943</width>
				<onleft>7</onleft>
				<onright>7</onright>
        <onup>7</onup>
        <ondown>7</ondown>                
				<scrollOffset>1</scrollOffset>
				<PinIconHeight>45</PinIconHeight>
				<PinIconWidth>75</PinIconWidth>
				<PinIconXOff>44</PinIconXOff>
				<PinIconYOff>5</PinIconYOff>
				<itemWidth>40</itemWidth>
				<itemHeight>30</itemHeight>
				<textureFocus>listcontrol_item_selected_tv.png</textureFocus>
				<textureNoFocus>-</textureNoFocus>
				<IconXOff>20</IconXOff>
				<IconYOff>13</IconYOff>				
				<textXOff>50</textXOff>
        <textXOff2>914</textXOff2>
				<keepaspectratio>no</keepaspectratio>
				<spinCanFocus>no</spinCanFocus>
				<dimColor>ffffffff</dimColor>
        <spinPosX>1832</spinPosX>
        <spinPosY>950</spinPosY>
			</control>

</control>
	
</controls>
</window>
