<?xml version="1.0" encoding="utf-8"?>
<window>
  <id>165100</id>
  <defaultcontrol>5000</defaultcontrol>
  <define>#header.label:#(L(300120)) #(L(5))</define>
  <allowoverlay>no</allowoverlay>
  <controls>
	<import>common.time.settings.xml</import>
	<control>
		<description>BG</description>
		<type>image</type>
		<id>1</id>
		<width>1920</width>
		<height>1080</height>
		<texture>background_settings.png</texture>
	</control>

	<control>
		<description>panel</description>
		<type>image</type>
		<id>0</id>
		<posX>5</posX>
		<posY>140</posY>
		<width>618</width>
		<height>940</height>
		<texture>panel_settings_left.png</texture>
	</control>

	<control>
		<description>panel</description>
		<type>image</type>
		<id>0</id>
		<posX>546</posX>
		<posY>140</posY>
		<width>1372</width>
		<height>940</height>
		<texture>panel_settings_main.png</texture>
  	<animation effect="fade" time="150">WindowOpen</animation>
  	<animation effect="fade" time="150">WindowClose</animation>
	</control>

  <control>
    <id>0</id>
    <type>image</type>
    <posX>68</posX>
    <posY>36</posY>
    <width>58</width>
    <height>58</height>
    <texture>icon_settings.png</texture>
  </control>
	
	<control>
		<type>label</type>
		<id>1</id>
		<posX>152</posX>
		<posY>225</posY>
		<width>500</width>
		<label>924</label>
		<textcolor>00b7ff</textcolor>
		<font>TitanLight20</font>
	</control>
	
	<control>
		<type>label</type>
		<id>1</id>
		<posX>685</posX>
		<posY>225</posY>
		<width>800</width>
		<label>#(iif(eq(#skin.setting.focus,'movingpictures'),'Moving Pictures','TV Series'))</label>
		<textcolor>00b7ff</textcolor>
		<font>TitanLight20</font>
		<visible>!control.isvisible(7101)</visible>
	  <animation effect="fade" time="150">WindowOpen</animation>
	  <animation effect="fade" time="150">WindowClose</animation>
	</control>
	
	<control>
		<type>label</type>
		<id>1</id>
		<posX>685</posX>
		<posY>225</posY>
		<width>800</width>
		<label>Flow BasicHome Settings</label>
		<textcolor>00b7ff</textcolor>
		<font>TitanLight20</font>
		<visible>control.isvisible(7101)</visible>
	  <animation effect="fade" time="150">WindowOpen</animation>
	  <animation effect="fade" time="150">WindowClose</animation>
	</control>
	
	<control>
		<description>buttons</description>
		<type>group</type>
		<posX>122</posX>
		<posY>321</posY>
		<dimColor>ffffffff</dimColor>
		<layout>StackLayout(7, Vertical, true)</layout>
			<control Style="SettingsButton">
				<description>Skin settings</description>
				<type>button</type>
				<id>5000</id>
				<label>Moving Pictures</label>
				<onright>5101</onright>
				<onfocus>#(skin.setstring('#skin.setting.focus','movingpictures'))</onfocus>
			</control>
			<control Style="SettingsButton">
				<description>Skin settings</description>
				<type>button</type>
				<id>6000</id>
				<label>TV Series</label>
				<onright>6101</onright>
				<onfocus>#(skin.setstring('#skin.setting.focus','tvseries'))</onfocus>
			</control>
			<!-- Flow settings-->
			<control Style="SettingsButton">
				<description>Skin settings</description>
				<type>button</type>
				<id>7000</id>
				<label>Flow Theme</label>
				<onright>7101</onright>
				<onfocus>#(skin.setstring('#skin.setting.focus','flow'))</onfocus>
			</control>
		</control>
		
	<!--            :: Moving Pictures ::           	 -->
		
	<control>
		<description>group element</description>
		<type>group</type>
		<animation effect="fade" time="150">WindowOpen</animation>
		<animation effect="fade" time="150">WindowClose</animation>
		<dimColor>0xffffffff</dimColor>
		<visible>string.equals(#skin.setting.focus,movingpictures)</visible>
		
		<control Style="SettingsButtonMedium">
			<description>Detailview layout</description>
			<type>menubutton</type>
			<id>5101</id>
			<posX>655</posX>
			<posY>366</posY>
			<mode>dialoglist</mode>
			<dialogTitle>Choose Detail Layout</dialogTitle>
			<valueTextInButton>yes</valueTextInButton>
			<valuePrefixText>Movie Detail Layout: </valuePrefixText>
			<onclick>#(skin.setstring('#skin.layout.movingpictures.details',#selectedlabel5101))</onclick>
			<binding>#skin.layout.movingpictures.details</binding>
			 <subitems>
				 <subitem>default</subitem>
				 <subitem>lite</subitem>
			 </subitems>
			 <onleft>5000</onleft>
			 <onright>5001</onright>
			 <onup>5102</onup>
			 <ondown>5102</ondown>
		</control>
		
		<control Style="SettingsButtonMedium">
			<description>Thumbview layout</description>
			<type>menubutton</type>
			<id>5102</id>
			<posX>655</posX>
			<posY>431</posY>
			<mode>dialoglist</mode>
			<dialogTitle>Choose Thumbview Layout</dialogTitle>
			<valueTextInButton>yes</valueTextInButton>
			<valuePrefixText>Thumbview Layout: </valuePrefixText>
			<onclick>#(skin.setstring('#skin.layout.movingpictures.thumbview',#selectedlabel5102))</onclick>
			<binding>#skin.layout.movingpictures.thumbview</binding>
			<subitems>
			 <subitem>default</subitem>
			 <subitem>without info</subitem>
			 <subitem>XL</subitem>
			</subitems>
		 <onleft>5000</onleft>
		 <onright>5002</onright>
		 <onup>5101</onup>
		 <ondown>5101</ondown>
		</control>
	</control>		
		
  <!--            :: TV Series ::           	 -->
  		
		
	<!-- Button configuration (bottom left on basichome)-->
  <control>
    <description>group element</description>
    <type>group</type>
	  <animation effect="fade" time="150">WindowOpen</animation>
	  <animation effect="fade" time="150">WindowClose</animation>
    <dimColor>0xffffffff</dimColor>
		<visible>string.equals(#skin.setting.focus,tvseries)</visible>
		
		<control Style="SettingsButtonMedium">
			<description>Widebanner layouts</description>
			<type>menubutton</type>
			<id>6101</id>
			<posX>655</posX>
			<posY>366</posY>
			<mode>dialoglist</mode>
			<dialogTitle>Choose Widebanner Layout</dialogTitle>
			<valueTextInButton>yes</valueTextInButton>
			<valuePrefixText>Widebanner Layout: </valuePrefixText>
			<onclick>#(skin.setstring('#skin.layout.tvseries.widebanner',#selectedlabel6101))</onclick>
			<binding>#skin.layout.tvseries.widebanner</binding>
			<subitems>
			 <subitem>default</subitem>
			 <subitem>4x2</subitem>
			 <subitem>6x2</subitem>
			 <subitem>7x4</subitem>
			</subitems>
			<onleft>6000</onleft>
			<onright>6101</onright>
			<onup>6101</onup>
			<ondown>6101</ondown>
		</control>
	</control>	

	<!--				:: Flow Theme settings::			-->
  
  
  		<control>
			<type>label</type>
			<id>1</id>
			<posX>655</posX>
			<posY>306</posY>
			<width>550</width>
			<label>Select custom Button</label>
			<textcolor>00b7ff</textcolor>
			<font>fontB14</font>
			<visible>string.equals(#skin.setting.focus,flow)</visible>
		  <animation effect="fade" time="150">WindowOpen</animation>
		  <animation effect="fade" time="150">WindowClose</animation>
		</control>
  
		<control>
		<description>group element</description>
		<type>group</type>
		  <animation effect="fade" time="150">WindowOpen</animation>
		  <animation effect="fade" time="150">WindowClose</animation>
		<dimColor>0xffffffff</dimColor>
			<visible>string.equals(#skin.setting.focus,flow)</visible>
			
			<control Style="SettingsButtonMedium">
				<description>Additional Button config</description>
				<type>menubutton</type>
				<id>7101</id>
				<posX>655</posX>
				<posY>366</posY>
				<mode>dialoglist</mode>
				<dialogTitle>Choose bottom left Button on Basichome</dialogTitle>
				<valueTextInButton>yes</valueTextInButton>
				<valuePrefixText>Button: </valuePrefixText>
				<onclick>#(skin.setstring('#skin.basichome.AddButton',#selectedlabel7101))</onclick>
				<binding>#skin.basichome.AddButton</binding>
				<subitems>
				 <subitem>Games</subitem>
				 <subitem>Pictures</subitem>
				 <subitem>Radio</subitem>
				 <subitem>OnlineVideos</subitem>
				 <subitem>Weather</subitem>
				</subitems>
				<onleft>7000</onleft>
				<onright>7121</onright>
				<onup>7108</onup>
				<ondown>7102</ondown>
			</control>
					
		</control>
		
		<!-- MiniTVGuide options -->
		
		  <control>
			<type>label</type>
			<id>1</id>
			<posX>1250</posX>
			<posY>306</posY>
			<width>550</width>
			<label>MiniTV Guide Options</label>
			<textcolor>00b7ff</textcolor>
			<font>fontB14</font>
			<visible>string.equals(#skin.setting.focus,flow)</visible>
		  <animation effect="fade" time="150">WindowOpen</animation>
		  <animation effect="fade" time="150">WindowClose</animation>
		</control>
  
		<control>
		<description>group element</description>
		<type>group</type>
		  <animation effect="fade" time="150">WindowOpen</animation>
		  <animation effect="fade" time="150">WindowClose</animation>
		<dimColor>0xffffffff</dimColor>
			<visible>string.equals(#skin.setting.focus,flow)</visible>
			
			<control Style="SettingsButtonMedium">
				<description>Additional Button config</description>
				<type>menubutton</type>
				<id>7121</id>
				<posX>1250</posX>
				<posY>366</posY>
				<mode>dialoglist</mode>
				<dialogTitle>MiniTVGuide row count</dialogTitle>
				<valueTextInButton>yes</valueTextInButton>
				<valuePrefixText>Rows: </valuePrefixText>
				<onclick>#(skin.setstring('#skin.tvMiniGuide.rows',#selectedlabel7121))</onclick>
				<binding>#skin.tvMiniGuide.rows</binding>
				<subitems>
				 <subitem> 3</subitem>
				 <subitem> 6</subitem>
				 <subitem> 8</subitem>
				</subitems>
				<onleft>7101</onleft>
				<onright>7101</onright>
				<onup>7108</onup>
				<ondown>7102</ondown>
			</control>
					
		</control>
		
		<!-- enable/disable latest Oberlays-->
		
		<control>
			<type>label</type>
			<id>1</id>
			<posX>655</posX>
			<posY>445</posY>
			<width>550</width>
			<label>Enable Basichome Overlays</label>
			<textcolor>00b7ff</textcolor>
			<font>fontB14</font>
			<visible>string.equals(#skin.setting.focus,flow)</visible>
		  <animation effect="fade" time="150">WindowOpen</animation>
		  <animation effect="fade" time="150">WindowClose</animation>
		</control>
		
		<control Style="SettingsCheckButtonMedium">
			<description>latest Music</description>
			<type>checkbutton</type>
			<id>7102</id>
			<posX>655</posX>
			<posY>500</posY>
			<label>latest Music</label>			
			<selected>#(skin.hassetting('#skin.enable.latest.Music'))</selected>
			<onclick>#(skin.togglesetting('#skin.enable.latest.Music'))</onclick>
			<onup>7101</onup>
			<ondown>7103</ondown>
		  <animation effect="fade" time="150">WindowOpen</animation>
		  <animation effect="fade" time="150">WindowClose</animation>
		  <visible>string.equals(#skin.setting.focus,flow)</visible>
		</control>
			
		<control Style="SettingsCheckButtonMedium">
			<description>Enable latest Recordings</description>
			<type>checkbutton</type>
			<id>7103</id>
			<posX>655</posX>
			<posY>564</posY>
			<label>latest Recordings</label>			
			<selected>#(skin.hassetting('#skin.enable.latest.Recordings'))</selected>
			<onclick>#(skin.togglesetting('#skin.enable.latest.Recordings'))</onclick>
			<onup>7102</onup>
			<ondown>7104</ondown>
		  <animation effect="fade" time="150">WindowOpen</animation>
		  <animation effect="fade" time="150">WindowClose</animation>
		  <visible>string.equals(#skin.setting.focus,flow)</visible>
		</control>
		
		<control Style="SettingsCheckButtonMedium">
			<description>Enable latest Pictures</description>
			<type>checkbutton</type>
			<id>7104</id>
			<posX>655</posX>
			<posY>628</posY>
			<label>latest Pictures</label>			
			<selected>#(skin.hassetting('#skin.enable.latest.Pictures'))</selected>
			<onclick>#(skin.togglesetting('#skin.enable.latest.Pictures'))</onclick>
			<onup>7103</onup>
			<ondown>7105</ondown>
		  <animation effect="fade" time="150">WindowOpen</animation>
		  <animation effect="fade" time="150">WindowClose</animation>
		  <visible>string.equals(#skin.setting.focus,flow)</visible>
		</control>
		
		<control Style="SettingsCheckButtonMedium">
			<description>Enable latest Weather</description>
			<type>checkbutton</type>
			<id>7105</id>
			<posX>655</posX>
			<posY>692</posY>
			<label>5 Day Weather Overlay</label>			
			<selected>#(skin.hassetting('#skin.enable.latest.Weather'))</selected>
			<onclick>#(skin.togglesetting('#skin.enable.latest.Weather'))</onclick>
			<onup>7104</onup>
			<ondown>7106</ondown>
		  <animation effect="fade" time="150">WindowOpen</animation>
		  <animation effect="fade" time="150">WindowClose</animation>
		  <visible>string.equals(#skin.setting.focus,flow)</visible>
		</control>		
	
	<control>
			<type>label</type>
			<id>1</id>
			<posX>655</posX>
			<posY>779</posY>
			<width>550</width>
			<label>Enable additional Overlays</label>
			<textcolor>00b7ff</textcolor>
			<font>fontB14</font>
			<visible>string.equals(#skin.setting.focus,flow)</visible>
		  <animation effect="fade" time="150">WindowOpen</animation>
		  <animation effect="fade" time="150">WindowClose</animation>
		</control>
		
		<control Style="SettingsCheckButtonMedium">
			<description>SleepControl Overlay</description>
			<type>checkbutton</type>
			<id>7106</id>
			<posX>655</posX>
			<posY>839</posY>
			<label>SleepControl Timer</label>			
			<selected>#(skin.hassetting('#skin.enable.SleepControlOverlay'))</selected>
			<onclick>#(skin.togglesetting('#skin.enable.SleepControlOverlay'))</onclick>
			<onup>7105</onup>
			<ondown>7107</ondown>
		  <animation effect="fade" time="150">WindowOpen</animation>
		  <animation effect="fade" time="150">WindowClose</animation>
		  <visible>string.equals(#skin.setting.focus,flow)</visible>
		</control>
			
		<control Style="SettingsCheckButtonMedium">
			<description>Enable infoservice RSS Ticker</description>
			<type>checkbutton</type>
			<id>7107</id>
			<posX>655</posX>
			<posY>903</posY>
			<label>Infoservice RSS Feed</label>			
			<selected>#(skin.hassetting('#skin.enable.infoservice'))</selected>
			<onclick>#(skin.togglesetting('#skin.enable.infoservice'))</onclick>
			<onup>7106</onup>
			<ondown>7108</ondown>
		  <animation effect="fade" time="150">WindowOpen</animation>
		  <animation effect="fade" time="150">WindowClose</animation>
		  <visible>string.equals(#skin.setting.focus,flow)</visible>
		</control>
		<control Style="SettingsCheckButtonMedium">
			<description>Advanced Recording Overlay</description>
			<type>checkbutton</type>
			<id>7108</id>
			<posX>655</posX>
			<posY>967</posY>
			<label>Advanced Recording Overlay</label>			
			<selected>#(skin.hassetting('#skin.enable.AdvancedRecordingOverlay'))</selected>
			<onclick>#(skin.togglesetting('#skin.enable.AdvancedRecordingOverlay'))</onclick>
			<onup>7107</onup>
			<ondown>7101</ondown>
		  <animation effect="fade" time="150">WindowOpen</animation>
		  <animation effect="fade" time="150">WindowClose</animation>
		  <visible>string.equals(#skin.setting.focus,flow)</visible>
		</control>
	</controls>
</window>