<window id="136">
	<defaultcontrol always="true">22</defaultcontrol>
	<allowoverlay>no</allowoverlay>
	<controls>

		<control type="group">
			<visible>!Window.IsActive(virtualkeyboard) + !Window.IsVisible(smartplaylistrule) + !Window.IsActive(selectdialog)</visible>
			<include>DialogAnimation</include>
			<control type="image">
				<description>background image</description>
				<include>FullscreenDimensions</include>
				<texture background="true">dialogs/playlist_editor/bg_playlisteditor.png</texture>
			</control>
			<control type="label">
				<description>header label</description>
				<posx>305</posx>
				<posy>170</posy>
				<width>670</width>
				<height>50</height>
				<font>FontSize_36</font>
				<align>center</align>
				<aligny>center</aligny>
				<textcolor>white</textcolor>
				<shadowcolor>99000000</shadowcolor>
				<scroll>true</scroll>
				<scrollspeed>20</scrollspeed>
				<label>21432</label>
			</control>			
			
			<control type="group">
				<animation type="Conditional" condition="![Control.HasFocus(16) | Control.HasFocus(17) | Control.HasFocus(18) | Control.HasFocus(19) | ControlGroup(10000).HasFocus]" reversible="false">
	        <effect type="fade" start="0" end="100" time="0" delay="200" tween="sine" easing="inout" />
	        <effect type="slide" start="0,-200" end="0,0" time="250" delay="0" tween="sine" easing="inout" />
				</animation>
				<animation type="Conditional" condition="Control.HasFocus(16) | Control.HasFocus(17) | Control.HasFocus(18) | Control.HasFocus(19) | ControlGroup(10000).HasFocus" reversible="false">
	        <effect type="slide" start="0,0" end="0,-200" time="250" delay="0" tween="sine" easing="inout" />
	        <effect type="fade" start="100" end="0" time="0" delay="50" tween="sine" easing="inout" />
				</animation>
				<control type="image">
					<description>background image</description>
					<include>FullscreenDimensions</include>
					<texture background="true">dialogs/playlist_editor/playlisteditor_top.png</texture>
				</control>			
				<control type="spincontrolex" id="22">
					<description>Set Playlist type</description>
					<posx>328</posx>
					<posy>222</posy>
					<width>624</width>
					<height>45</height>
					<label>467</label>
					<onup>noop</onup>
					<ondown>12</ondown>
					<onright>22</onright>
					<onleft>22</onleft>
	        <include>DialogsSpincontrolex</include>
				</control>
				<control type="label">
					<description>Name Label</description>
					<posx>330</posx>
					<posy>274</posy>
					<width>620</width>
					<height>30</height>
					<align>left</align>
					<aligny>center</aligny>
					<font>FontSize_16B</font>
					<textcolor>44white</textcolor>
					<shadowcolor>99000000</shadowcolor>
					<label>21433</label>
				</control>
				<control type="edit" id="12">
					<description>Name Button</description>
					<posx>328</posx>
					<posy>306</posy>
					<width>624</width>
					<height>45</height>
					<textoffsetx>10</textoffsetx>
					<textwidth>614</textwidth>
					<font>FontSize_20</font>
					<align>left</align>
					<aligny>center</aligny>
					<texturefocus>buttons/settings_fo.png</texturefocus>
					<texturenofocus>-</texturenofocus>
					<label>-</label>
					<onup>22</onup>
					<onleft>12</onleft>
					<onright>12</onright>
					<ondown>9000</ondown>
				</control>
			</control>			
				
			<control type="group">
				<animation type="Conditional" condition="![Control.HasFocus(16) | Control.HasFocus(17) | Control.HasFocus(18) | Control.HasFocus(19) | ControlGroup(10000).HasFocus]" reversible="false">
	        <effect type="slide" start="0,-147" end="0,0" time="250" delay="0" tween="sine" easing="inout" />
				</animation>
				<animation type="Conditional" condition="Control.HasFocus(16) | Control.HasFocus(17) | Control.HasFocus(18) | Control.HasFocus(19) | ControlGroup(10000).HasFocus" reversible="false">
	        <effect type="slide" start="0,0" end="0,-147" time="250" delay="0" tween="sine" easing="inout" />
				</animation>
				<control type="image">
					<description>background image</description>
					<include>FullscreenDimensions</include>
					<texture background="true">dialogs/playlist_editor/playlisteditor_mid.png</texture>
				</control>						
				<control type="label">
					<description>rules label</description>
					<posx>330</posx>
					<posy>357</posy>
					<width>620</width>
					<height>30</height>
					<align>left</align>
					<aligny>center</aligny>
					<font>FontSize_16B</font>
					<textcolor>44white</textcolor>
					<shadowcolor>99000000</shadowcolor>
					<label>21434</label>
				</control>
				<control type="group" id="9000">
					<control type="list" id="10">
						<description>Rules List Control</description>
						<posx>328</posx>
						<posy>388</posy>
						<width>460</width>
						<height>154</height>
						<onup>12</onup>
						<ondown>10020</ondown>
						<onleft>9001</onleft>
						<onright>9001</onright>
						<scrolltime>200</scrolltime>
						<include>VisibleFadeEffect</include>
						<itemlayout height="51" width="460">
							<control type="label">
								<posx>10</posx>
								<posy>-1</posy>
								<width>446</width>
								<height>45</height>
								<font>FontSize_20</font>
								<align>left</align>
								<aligny>center</aligny>
								<textcolor>77white</textcolor>
								<selectedcolor>selected</selectedcolor>
								<info>ListItem.Label</info>
							</control>
						</itemlayout>
						<focusedlayout height="51" width="460">
							<control type="image">
								<posx>0</posx>
								<posy>0</posy>
								<width>460</width>
								<height>45</height>
								<texture>buttons/settings_fo.png</texture>
								<visible>Control.HasFocus(10)</visible>
		            <include>FocusVisibleFadeEffect</include>
						  </control>
							<control type="label">
								<posx>10</posx>
								<posy>-1</posy>
								<width>446</width>
								<height>45</height>
								<font>FontSize_20</font>
								<align>left</align>
								<aligny>center</aligny>
								<textcolor>white</textcolor>
								<selectedcolor>selected</selectedcolor>
								<info>ListItem.Label</info>
								<visible>Control.HasFocus(10)</visible>
							</control>
							<control type="label">
								<posx>10</posx>
								<posy>-1</posy>
								<width>446</width>
								<height>45</height>
								<font>FontSize_20</font>
								<align>left</align>
								<aligny>center</aligny>
								<textcolor>77white</textcolor>
								<selectedcolor>selected</selectedcolor>
								<info>ListItem.Label</info>
								<visible>!Control.HasFocus(10)</visible>
							</control>
						</focusedlayout>
					</control>
					<control type="group" id="9001">
						<posx>792</posx>
						<posy>388</posy>
						<control type="button" id="13">
							<description>Add Rule Button</description>
							<posy>0</posy>
							<width>160</width>
							<height>45</height>
							<label>15019</label>
							<onup>12</onup>
							<ondown>14</ondown>
							<onleft>10</onleft>
							<onright>10</onright>
				      <align>center</align>
			        <include>DialogsButton</include>
						</control>
						<control type="button" id="14">
							<description>Remove Rule Button</description>
							<posy>49</posy>
							<height>45</height>
							<width>160</width>
							<label>1210</label>
							<onup>13</onup>
							<ondown>15</ondown>
							<onleft>10</onleft>
							<onright>10</onright>
				      <align>center</align>
			        <include>DialogsButton</include>
						</control>
						<control type="button" id="15">
							<description>Edit Rule Button</description>
							<posy>98</posy>
							<height>45</height>
							<width>160</width>
							<label>21435</label>
							<onup>14</onup>
							<ondown>16</ondown>
							<onleft>10</onleft>
							<onright>10</onright>
				      <align>center</align>
			        <include>DialogsButton</include>
						</control>
					</control>
				</control>
			</control>
	
			<control type="group" id="10020">
				<animation type="Conditional" condition="Control.HasFocus(16) | Control.HasFocus(17) | Control.HasFocus(18) | Control.HasFocus(19) | ControlGroup(10000).HasFocus" reversible="false">
	        <effect type="fade" start="0" end="100" time="0" delay="200" tween="sine" easing="inout" />
	        <effect type="slide" start="0,200" end="0,0" time="250" delay="0" tween="sine" easing="inout" />
				</animation>
				<animation type="Conditional" condition="![Control.HasFocus(16) | Control.HasFocus(17) | Control.HasFocus(18) | Control.HasFocus(19) | ControlGroup(10000).HasFocus]" reversible="false">
	        <effect type="slide" start="0,0" end="0,200" time="250" delay="0" tween="sine" easing="inout" />
	        <effect type="fade" start="100" end="0" time="0" delay="50" tween="sine" easing="inout" />
				</animation>		
				<control type="image">
					<description>background image</description>
					<include>FullscreenDimensions</include>
					<texture background="true">dialogs/playlist_editor/playlisteditor_bottom.png</texture>
				</control>
				<control type="spincontrolex" id="16">
					<posx>328</posx>
					<posy>388</posy>
					<width>624</width>
					<height>45</height>
					<label>21424</label>
					<onright>16</onright>
					<onleft>16</onleft>
					<onup>9000</onup>
					<ondown>17</ondown>
				  <onback>10010</onback>
	        <include>DialogsSpincontrolex</include>
				</control>
				<control type="spincontrolex" id="17">
					<posx>328</posx>
					<posy>437</posy>
					<width>624</width>
					<height>45</height>
					<label>21427</label>
					<onright>17</onright>
					<onleft>17</onleft>
					<onup>16</onup>
					<ondown>18</ondown>
				  <onback>10010</onback>
	        <include>DialogsSpincontrolex</include>
				</control>
				<control type="spincontrolex" id="18">
					<posx>328</posx>
					<posy>487</posy>
					<width>460</width>
					<height>45</height>
					<label>21429</label>
					<onright>19</onright>
					<onleft>19</onleft>
					<onup>17</onup>
					<ondown>10000</ondown>
				  <onback>10010</onback>
	        <include>DialogsSpincontrolex</include>
				</control>
				<control type="togglebutton" id="19">
					<posx>792</posx>
					<posy>487</posy>
					<width>160</width>
					<height>45</height>
					<label>21431</label>
					<altlabel>21430</altlabel>
					<alttexturefocus>buttons/settings_fo.png</alttexturefocus>
					<alttexturenofocus>-</alttexturenofocus>
			    <align>center</align>
					<onright>18</onright>
					<onleft>18</onleft>
					<onup>17</onup>
					<ondown>10000</ondown>
				  <onback>10010</onback>
	        <include>DialogsButton</include>
				</control>
			</control>

		  <control type="group" id="10000">
				<posx>330</posx>
				<posy>528</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>18</onup>
					<ondown>22</ondown>
					<control type="button" id="20">
						<description>Save</description>
					  <label>190</label>
					  <include>TopButton</include>
					</control>
					<control type="button" id="21">
						<description>Cancel</description>
					  <label>222</label>
					  <include>TopButton</include>
					</control>
					<control type="button." id="6">
						<description>Playlist Options</description>
					  <label>31285</label>
					  <include>TopButton</include>
					  <onclick>SetFocus(10020)</onclick>
					</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>Save 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(20),․  ]</label>
						<animation effect="fade" start="100" end="30" time="200" tween="sine" easing="inout" condition="!Control.HasFocus(20)" reversible="true">Conditional</animation>
	          <animation effect="zoom" start="100" end="95" time="200" tween="sine" easing="inout" center="15,0" condition="!Control.HasFocus(20)" 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(21),․  ]</label>
						<animation effect="fade" start="100" end="30" time="200" tween="sine" easing="inout" condition="!Control.HasFocus(21)" reversible="true">Conditional</animation>
	          <animation effect="zoom" start="100" end="95" time="200" tween="sine" easing="inout" center="15,0" condition="!Control.HasFocus(21)" reversible="true">Conditional</animation>
					</control>
					<control type="label.">
						<description>Playlist Options</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(6),․  ]</label>
						<animation effect="fade" start="100" end="30" time="200" tween="sine" easing="inout" condition="!Control.HasFocus(6)" reversible="true">Conditional</animation>
	          <animation effect="zoom" start="100" end="95" time="200" tween="sine" easing="inout" center="15,0" condition="!Control.HasFocus(6)" reversible="true">Conditional</animation>
					</control>
				</control>
		  </control>
		</control>
	</controls>
</window>
