<?xml version="1.0" encoding="UTF-8"?>
<window>
	<id>1</id>
	<defaultcontrol>2</defaultcontrol>
	<allowoverlay>no</allowoverlay>
	<disabletopbar>yes</disabletopbar>
	<controls>

		<control>
			<description>dummy (visible when music is playing)</description>
			<type>label</type>
			<id>3337</id>
			<posX>3000</posX>
			<label>#Play.Current.Album</label>
			<visible>player.hasmedia+control.hastext(3337)</visible>
		</control>
		
	<control>
		<description>dummy (visible when tv is running)</description>
		<type>label</type>
		<id>3339</id>
		<posX>2000</posX>
		<label>#TV.View.channel</label>
		<visible>Player.HasVideo+!control.hastext(3337)</visible>
	</control>		

		<import>common.fanart.selected.movie.xml</import>

		<control>
			<description>music overlay image</description>
			<type>image</type>
			<id>0</id>
			<posX>0</posX>
			<posY>0</posY>
			<width>1920</width>
			<height>1080</height>
			<shouldCache>true</shouldCache>
			<texture>overlay.default.png</texture>	  
		</control>			


		<control>
			<type>group</type>
			<description>group element</description>
			<posY>130</posY>
			<posX>1300</posX>
			<onexit>99</onexit>  
			<align>left</align>
			<animation effect="fade" start="0" end="100" time="350">WindowOpen</animation>
			<animation effect="fade" start="100" end="0" time="350">WindowClose</animation>			  	  
			<layout>StackLayout</layout>
			<control>
				<description>TVGuide</description>
				<type>button</type>
				<id>2</id>
				<label>600</label>        
				<hyperlink>600</hyperlink>
				<font>font16</font>
				<textalign>right</textalign>
				<align>left</align>
				<textcolor>ffffffff</textcolor>
				<disabledcolor>ffffffff</disabledcolor>	
				<textcolorNoFocus>ffcccccc</textcolorNoFocus>
				<textureFocus>playlist_sub_focus1.png</textureFocus> 
				<textureNoFocus>playlist_sub_nofocus1.png</textureNoFocus> 
				<height>54</height>
				<width>585</width>
				<textYOff>2</textYOff>
				<textXOff>15</textXOff>	
				<onup>13</onup>
				<ondown>3</ondown>
				<onright>99</onright>
				<onleft>99</onleft>
			</control>
			<control>
				<description>Record Now</description>
				<type>button</type>
				<id>3</id>
				<label>601</label>        
				<font>font16</font>
				<textalign>right</textalign>
				<align>left</align>
				<textcolor>ffffffff</textcolor>
				<disabledcolor>ffffffff</disabledcolor>	
				<textcolorNoFocus>ffcccccc</textcolorNoFocus>
				<textureFocus>playlist_sub_focus1.png</textureFocus> 
				<textureNoFocus>playlist_sub_nofocus1.png</textureNoFocus> 
				<height>54</height>
				<width>585</width>
				<textYOff>2</textYOff>
				<textXOff>15</textXOff>
				<onup>2</onup>
				<ondown>11</ondown>
				<onright>99</onright>
				<onleft>99</onleft>
			</control>	  
			<control>
				<description>Recordings</description>
				<type>button</type>
				<id>11</id>
				<label>604</label>
				<hyperlink>603</hyperlink>
				<font>font16</font>
				<textalign>right</textalign>
				<align>left</align>
				<textcolor>ffffffff</textcolor>
				<disabledcolor>ffffffff</disabledcolor>	
				<textcolorNoFocus>ffcccccc</textcolorNoFocus>		
				<textureFocus>playlist_sub_focus1.png</textureFocus> 
				<textureNoFocus>playlist_sub_nofocus1.png</textureNoFocus> 
				<height>54</height>
				<width>585</width>
				<textYOff>2</textYOff>
				<textXOff>15</textXOff>	
				<onup>3</onup>
				<ondown>10</ondown>
				<onright>99</onright>
				<onleft>99</onleft>
			</control>	 
			<control>
				<description>Upcoming Recordings</description>
				<type>button</type>
				<id>10</id>
				<label>603</label>        
				<hyperlink>601</hyperlink>
				<font>font16</font>
				<textalign>right</textalign>
				<align>left</align>
				<textcolor>ffffffff</textcolor>
				<disabledcolor>ffffffff</disabledcolor>	
				<textcolorNoFocus>ffcccccc</textcolorNoFocus>		
				<textureFocus>playlist_sub_focus1.png</textureFocus> 
				<textureNoFocus>playlist_sub_nofocus1.png</textureNoFocus> 
				<height>54</height>
				<width>585</width>
				<textYOff>2</textYOff>
				<textXOff>15</textXOff>
				<onup>11</onup>
				<ondown>14</ondown>
				<onright>99</onright>
				<onleft>99</onleft>
			</control>
			<control>
				<description>Active Recordings</description>
				<type>button</type>
				<id>14</id>
				<label>200052</label>        
				<font>font16</font>
				<textalign>right</textalign>
				<align>left</align>
				<textcolor>ffffffff</textcolor>
				<disabledcolor>ffffffff</disabledcolor>	
				<textcolorNoFocus>ffcccccc</textcolorNoFocus>		
				<textureFocus>playlist_sub_focus1.png</textureFocus> 
				<textureNoFocus>playlist_sub_nofocus1.png</textureNoFocus> 
				<height>54</height>
				<width>585</width>
				<textYOff>2</textYOff>
				<textXOff>15</textXOff>
				<onup>10</onup>
				<ondown>9</ondown>
				<onright>99</onright>
				<onleft>99</onleft>
			</control>	
			<control>
				<description>Active Streams</description>
				<type>button</type>
				<id>9</id>
				<label>692</label>        
				<font>font16</font>
				<textalign>right</textalign>
				<align>left</align>
				<textcolor>ffffffff</textcolor>
				<disabledcolor>ffffffff</disabledcolor>	
				<textcolorNoFocus>ffcccccc</textcolorNoFocus>	
				<textureFocus>playlist_sub_focus1.png</textureFocus> 
				<textureNoFocus>playlist_sub_nofocus1.png</textureNoFocus> 
				<height>54</height>
				<width>585</width>
				<textYOff>2</textYOff>
				<textXOff>15</textXOff>
				<onup>14</onup>
				<ondown>7</ondown>
				<onright>99</onright>
				<onleft>99</onleft>
			</control>	  
			<control>
				<description>Channel button</description>
				<type>button</type>
				<id>7</id>
				<label>602</label>        
				<font>font16</font>
				<textalign>right</textalign>
				<align>left</align>
				<textcolor>ffffffff</textcolor>
				<disabledcolor>ffffffff</disabledcolor>	
				<textcolorNoFocus>ffcccccc</textcolorNoFocus>		
				<textureFocus>playlist_sub_focus1.png</textureFocus> 
				<textureNoFocus>playlist_sub_nofocus1.png</textureNoFocus> 
				<height>54</height>
				<width>585</width>
				<textYOff>2</textYOff>
				<textXOff>15</textXOff>
				<onup>9</onup>
				<ondown>8</ondown>
				<onright>99</onright>
				<onleft>99</onleft>		
			</control>	  
			<control>
				<description>TV On/Off button</description>
				<type>togglebutton</type>
				<id>8</id>
				<label>707</label>
				<font>font16</font>
				<textalign>right</textalign>
				<align>left</align>
				<textcolor>ffffffff</textcolor>
				<disabledcolor>ffffffff</disabledcolor>	
				<textcolorNoFocus>ffcccccc</textcolorNoFocus>				
				<AltTextureFocus>hiddenmenu_togglebutton_off.png</AltTextureFocus>
				<AltTextureNoFocus>hiddenmenu_togglebutton_nof_off.png</AltTextureNoFocus>             
				<textureFocus>hiddenmenu_togglebutton_on.png</textureFocus>
				<textureNoFocus>hiddenmenu_togglebutton_nof_on.png</textureNoFocus>	
				<height>54</height>
				<width>585</width>
				<textYOff>2</textYOff>
				<textXOff>75</textXOff>
				<onup>7</onup>
				<ondown>12</ondown>
				<onright>99</onright>
				<onleft>99</onleft>
			</control>	  	  
			<control>
				<description>Search</description>
				<type>button</type>
				<id>12</id>
				<label>137</label>
				<hyperlink>604</hyperlink>        
				<font>font16</font>
				<textalign>right</textalign>
				<align>left</align>
				<textcolor>ffffffff</textcolor>
				<disabledcolor>ffffffff</disabledcolor>	
				<textcolorNoFocus>ffcccccc</textcolorNoFocus>		
				<textureFocus>playlist_sub_focus1.png</textureFocus> 
				<textureNoFocus>playlist_sub_nofocus1.png</textureNoFocus> 
				<height>54</height>
				<width>585</width>
				<textYOff>2</textYOff>
				<textXOff>15</textXOff>
				<onup>8</onup>
				<ondown>13</ondown>
				<onright>99</onright>
				<onleft>99</onleft>
			</control>
			<control>
				<description>Teletext</description>
				<type>button</type>
				<id>13</id>
				<label>Teletext</label>
				<font>font16</font>
				<textalign>right</textalign>
				<align>left</align>
				<textcolor>ffffffff</textcolor>
				<disabledcolor>ffffffff</disabledcolor>	
				<textcolorNoFocus>ffcccccc</textcolorNoFocus>		
				<textureFocus>playlist_sub_focus1.png</textureFocus> 
				<textureNoFocus>playlist_sub_nofocus1.png</textureNoFocus> 
				<height>54</height>
				<width>585</width>
				<textYOff>2</textYOff>
				<textXOff>15</textXOff>
				<onup>12</onup>
				<ondown>2</ondown>
				<onright>99</onright>
				<onleft>99</onleft>	
			</control>
		</control>				
		<!-- *********************************************************************************** -->	


		<!--  ***************************** CURRENT TV PROGRAM INFO - MEDIA IS PLAYING ****************************************** -->
		<control>
			<description>Current Channel Thumb</description>
			<type>image</type>
			<id>204</id>
			<posX>25</posX>
			<posY>788</posY>	  
			<width>135</width>
			<height>135</height>
			<keepaspectratio>yes</keepaspectratio>      
			<texture>#TV.View.thumb</texture>
			<visible>yes</visible>
			<animation effect="fade" start="0" end="100" time="350">WindowOpen</animation>
			<animation effect="fade" start="100" end="0" time="350">WindowClose</animation>			  	  
		</control>	

		<control>
			<description>Current program title </description>
			<type>fadelabel</type>
			<id>0</id>
			<posX>90</posX>
			<posY>729</posY>			
			<width>1505</width>
			<textcolor>ffffffff</textcolor>      
			<font>font22</font>
			<label>#TV.View.title</label>
			<scrollStartDelaySec>5</scrollStartDelaySec>
			<visible>yes</visible>
			<animation effect="fade" start="0" end="100" time="350">WindowOpen</animation>
			<animation effect="fade" start="100" end="0" time="350">WindowClose</animation>			  	  
		</control>	

		<control>
			<description>Current Channelname</description>
			<type>label</type>
			<id>1</id>
			<posX>80</posX>
			<posY>683</posY>
			<width>570</width>
			<label>#TV.View.start</label>
			<font>font10</font>
			<align>left</align>
			<visible>yes</visible>
			<animation effect="fade" start="0" end="100" time="350">WindowOpen</animation>
			<animation effect="fade" start="100" end="0" time="350">WindowClose</animation>			  	  
		</control>	
		<control>
			<description>Current Channelname</description>
			<type>label</type>
			<id>1</id>
			<posX>965</posX>
			<posY>683</posY>
			<width>570</width>
			<label>#TV.View.stop</label>
			<font>font10</font>
			<align>left</align>
			<visible>yes</visible>
			<animation effect="fade" start="0" end="100" time="350">WindowOpen</animation>
			<animation effect="fade" start="100" end="0" time="350">WindowClose</animation>			  	  
		</control>	

		<control>
			<description>Description1</description>
			<type>textboxscrollup</type>
			<id>15</id>
			<posX>170</posX>
			<posY>798</posY>
			<width>650</width>
			<height>135</height>
			<textalign>left</textalign>
			<seperator>_____________________________________</seperator>
			<label>#TV.Guide.Description</label>
			<font>font14</font>
			<shadowAngle>45</shadowAngle>
			<shadowDistance>1</shadowDistance>
			<textcolor>ffffffff</textcolor>
			<shadowColor>FF333333</shadowColor>
			<label>#TV.View.description</label>
			<visible>player.hasmedia+!control.isvisible(3337)</visible>
			<animation effect="fade" start="0" end="100" time="350">WindowOpen</animation>
			<animation effect="fade" start="100" end="0" time="350">WindowClose</animation>			  	  
		</control>		

		<import>basichome.menu.xml</import>
		<import>common.time.xml</import>

		<control>
			<description>video preview window</description>
			<type>videowindow</type>
			<id>99</id>
			<posX>100</posX>
			<posY>142</posY>					
			<width>900</width>
			<height>480</height>
			<onup>2</onup>
			<ondown>2</ondown>
			<onright>2</onright>
			<onleft>2</onleft>	
			<action>18</action>
			<textureFocus>tv_green_border.png</textureFocus> 
			</control>

		<control>
			<id>0</id>
			<type>image</type>
			<posX>62</posX>
			<posY>117</posY>
			<width>1112</width>
			<height>610</height>
			<shouldCache>true</shouldCache>
			<texture>tv.frame.png</texture>	  
			</control>

		<!--<control>
			<description>title label</description>
			<type>label</type>
			<id>0</id>
			<width>900</width>
			<height>60</height>
			<posX>1515</posX>
			<posY>252</posY>
			<label>#Play.Current.Title</label>
			<align>right</align>
			<textcolor>ffffffff</textcolor>
			<shadowAngle>45</shadowAngle>
			<shadowDistance>2</shadowDistance>
			<shadowColor>ff191919</shadowColor>   	       			
			<font>font13</font>
			<visible>Player.HasVideo+!control.isvisible(3337)</visible>
		</control>-->

		<control>
			<description>Progressbar Background</description>
			<type>image</type>
			<id>0</id>
			<posX>149</posX>
			<posY>700</posY>
			<width>804</width>
			<height>15</height>
			<shouldCache>true</shouldCache>
			<texture>progressback.png</texture>
		</control>

		<control>
			<description>progress bar</description>
			<type>progress</type>
			<id>0</id>
			<posX>138</posX>
			<posY>694</posY>
			<width>804</width>
			<height>15</height>
			<label>#TV.View.Percentage</label>
			<texturebg>-</texturebg>
			<lefttexture>-</lefttexture>
			<midtexture>progressbar_mid.png</midtexture>
			<righttexture>-</righttexture>		
			<visible>yes</visible>
		</control>	

		<!--<control>
			<description>play time / duration label</description>
			<type>label</type>
			<id>0</id>
			<width>270</width>
			<height>60</height>
			<posX>1515</posX>
			<posY>300</posY>
			<align>right</align>
			<label>#currentplaytime / #duration</label>
			<textcolor>ffffffff</textcolor>
			<shadowAngle>45</shadowAngle>
			<shadowDistance>2</shadowDistance>
			<shadowColor>ff191919</shadowColor>   	       			
			<font>font13</font>
			<visible>Player.HasVideo+!control.isvisible(3337)</visible>
		</control>-->				

		<control>
			<description>record pin</description>
			<type>image</type>
			<id>24</id>
			<posX>1840</posX>
			<posY>85</posY>
			<width>72</width>
			<height>30</height>
			<texture>rec_indicator.png</texture>
		</control>

		<!--<control>
			<description>progress bar</description>
			<type>progress</type>
			<id>20</id>
			<posX>3848</posX>
			<posY>720</posY>
			<width>960</width>
			<height>22</height>
			<label>#TV.View.Percentage</label>
			<visible>yes</visible>
		</control>-->
		
		<control>
			<description>Menu Image</description>
			<type>image</type>
			<id>0</id>
			<posX>0</posX>
			<posY>390</posY>
			<width>45</width>
			<height>142</height>
			<texture>button.livetv.left.png</texture>
			<visible>Control.isvisible(3339)</visible>
			<animation effect="fade" start="0" end="100" time="350">WindowOpen</animation>
			<animation effect="fade" start="100" end="0" time="350">WindowClose</animation>	
			<animation effect="fade" start="100" end="0" time="200" reversible="false">Hidden</animation>				
		</control>			

	</controls>
</window>
