<?xml version="1.0" encoding="utf-8"?>
<includes>
    <include name="View_52_Thumbs">
        <control type="group">
            <visible>Control.IsVisible(52)</visible>
            <animation type="TYPE" condition="Window.IsVisible(2001) | Window.IsVisible(2003) | Window.IsVisible(139) | Window.IsVisible(136) | Window.IsVisible(135) | Window.IsVisible(addonsettings)" reversible="false">
                <effect type="slide" end="-1500,0" time="200" />
            </animation>
            <animation type="TYPE" condition="!Window.IsVisible(2001) + !Window.IsVisible(2003) + !Window.IsVisible(139) + !Window.IsVisible(136) + !Window.IsVisible(135) + !Window.IsVisible(addonsettings)" reversible="false">
                <effect type="slide" start="-1500,0" time="200" />
            </animation>
            <animation type="WindowClose">
                <effect type="fade" time="300" />
                <effect type="slide" end="+1500,0" time="300" />
            </animation>
            <animation type="WindowOpen">
                <effect type="fade" time="300" />
                <effect type="slide" start="+1500,0" time="300" />
            </animation>
            <!--This control shows the label of the folder name -->
			<control type="label">
				<include>ViewMainTitle</include>	
                <label>$INFO[Container.FolderName]</label>
            </control>
			 <!--This control shows the label of the folder name -->
			<control type="label">
				<include>ViewFooterTitle</include>	
                <label>$INFO[ListItem.Title]</label>
            </control>
			<!--This control defines the list that will display the items -->
			<control type="panel" id="52">
                <include>ThumbsVisibility</include>	
				<left>50</left>
                <top>290</top>
                <width>1200</width>
                <height>320</height>
                <onleft>9000</onleft>
				<onleft>Skin.ToggleSetting(showViewOptions)</onleft>				
				<onright>60</onright>
                <onup>noop</onup>
                <ondown>noop</ondown>
                <pagecontrol>60</pagecontrol>
                <viewtype label="Thumbs">Thumbs</viewtype>
                <scrolltime>200</scrolltime>
                <itemlayout width="240" height="160">
					<control type="image">
						<width>235</width>
						<height>155</height>
						<texture>tile.png</texture>
						<visible>String.IsEmpty(ListItem.Art(thumb))</visible>
					</control>
					<control type="image">
						<width>235</width>
						<height>155</height>
						<texture>$INFO[ListItem.icon]</texture>
						<aspectratio>keep</aspectratio>
						<bordersize>35</bordersize>
						<visible>String.IsEmpty(ListItem.Art(thumb))</visible>
					</control>
					<control type="image">
						<width>235</width>
						<height>155</height>
						<texture>$INFO[ListItem.Art(thumb)]</texture>
						<bordertexture>tile.png</bordertexture>
						<bordersize>5</bordersize>
						<aspectratio>scale</aspectratio>
					</control>
					<control type="image">
						<width>235</width>
						<height>155</height>
						<texture>music_fanart_diffuse.png</texture>
						<visible>!String.IsEmpty(ListItem.Art(thumb))</visible>
					</control>
					<control type="image">
						<left>5</left>
						<top>120</top>
						<width>225</width>
						<height>30</height>
						<texture>tile.png</texture>
						<visible>!String.IsEqual(ListItem.label,..) + !String.IsEmpty(ListItem.Art(thumb))</visible>
					</control>
					<control type="image">
						<right>10</right>
						<top>5</top>
						<width>70</width>
						<height>70</height>
						<texture>OverlayWatchedPanel.png</texture>
						<visible>String.IsEqual(ListItem.Overlay,OverlayWatched.png) + !ListItem.IsResumable</visible>
					</control>
					<control type="image">
						<right>10</right>
						<top>5</top>
						<width>70</width>
						<height>70</height>
						<texture>OverlayWatchingPanel.png</texture>
						<visible>ListItem.IsResumable</visible>
					</control>
					<control type="label">
						<label>$INFO[ListItem.Label]</label>
						<left>10</left>
						<top>120</top>
						<height>30</height>
						<width>215</width>
						<font>List_Hint</font>
						<visible>!String.IsEqual(ListItem.label,..)</visible>
					</control>
					<control type="label">
						<label>$INFO[ListItem.Duration(mins),, [UPPERCASE]$LOCALIZE[31299][/UPPERCASE]]</label>
						<left>10</left>
						<top>5</top>
						<height>30</height>
						<width>215</width>
						<font>List_Hint</font>
						<shadowcolor>black</shadowcolor>
					</control>

				</itemlayout>
				<focusedlayout width="240" height="160">
					<control type="image">
						<width>235</width>
						<height>155</height>
						<texture>tile.png</texture>
						<bordertexture>button.png</bordertexture>
						<bordersize>5</bordersize>
						<visible>String.IsEmpty(ListItem.Art(thumb))</visible>
					</control>
					<control type="image">
						<width>235</width>
						<height>155</height>
						<texture>$INFO[ListItem.icon]</texture>
						<aspectratio>keep</aspectratio>
						<bordersize>35</bordersize>
						<visible>String.IsEmpty(ListItem.Art(thumb))</visible>
					</control>
					<control type="image">
						<width>235</width>
						<height>155</height>
						<texture>$INFO[ListItem.Art(thumb)]</texture>
						<bordertexture>button.png</bordertexture>
						<bordersize>5</bordersize>
						<aspectratio>scale</aspectratio>
					</control>
					<control type="image">
						<left>5</left>
						<top>120</top>
						<width>225</width>
						<height>30</height>
						<texture>button.png</texture>
						<visible>!String.IsEqual(ListItem.label,..) + !String.IsEmpty(ListItem.Art(thumb))</visible>
					</control>
					<control type="image">
						<right>10</right>
						<top>5</top>
						<width>70</width>
						<height>70</height>
						<texture colordiffuse="Accent">OverlayWatchedPanel.png</texture>
						<visible>String.IsEqual(ListItem.Overlay,OverlayWatched.png) + !ListItem.IsResumable</visible>
					</control>
					<control type="image">
						<right>10</right>
						<top>5</top>
						<width>70</width>
						<height>70</height>
						<texture colordiffuse="Accent">OverlayWatchingPanel.png</texture>
						<visible>ListItem.IsResumable</visible>
					</control>					
					<control type="label">
						<label>$INFO[ListItem.Label]</label>
						<left>10</left>
						<top>120</top>
						<height>30</height>
						<width>215</width>
						<font>List_Hint</font>
						<visible>!String.IsEqual(ListItem.label,..)</visible>
					</control>
					<control type="label">
						<label>$INFO[ListItem.Duration(mins),, [UPPERCASE]$LOCALIZE[31299][/UPPERCASE]]</label>
						<left>10</left>
						<top>5</top>
						<height>30</height>
						<width>215</width>
						<font>List_Hint</font>
						<shadowcolor>black</shadowcolor>
					</control>
				
				</focusedlayout>
			</control>
			<!--This control defines the scrollbar controlling the large list list -->
				<control type="scrollbar" id="60">
					<left>1250</left>
					<top>290</top>
					<width>5</width>
					<height>315</height>
					<onleft>52</onleft>
					<orientation>vertical</orientation>
				</control>
					
		</control>
    </include>
</includes>