Advertisement
Guest User

FTV Skin listView.xml

a guest
Dec 4th, 2016
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.66 KB | None | 0 0
  1. <!--
  2.     Credits to Hithcer and Sualfred for the Base FTV Skin
  3.     http://forum.kodi.tv/showthread.php?tid=207475
  4.     http://forum.kodi.tv/showthread.php?tid=253058
  5. -->
  6. <?xml version="1.0" encoding="utf-8"?>
  7. <includes>
  8.         <include name="ViewListLayout">
  9.         <itemlayout height="57" width="1000">
  10.             <control type="group">
  11.                 <include>OverlayHD</include>
  12.                 <include>OverlayWatched</include>
  13.                 <include content="ParamProgress">
  14.                     <param name="width">320</param>
  15.                     <param name="OverlayWatched">false</param>
  16.                 </include>
  17.                 <control type="textbox">
  18.                     <top>55</top>
  19.                     <width>1000</width>
  20.                     <height>480</height>
  21.                     <textcolor>white</textcolor>
  22.                     <label>$INFO[ListItem.Label]</label>
  23.                 </control>
  24.             </control>
  25.         </itemlayout>
  26.         <focusedlayout height="57" width="1000">
  27.             <control type="button">
  28.                 <texturefocus>-</texturefocus>
  29.                 <texturenofocus>-</texturenofocus>
  30.                 <onfocus condition="!Container.Content(seasons)">ClearProperty(TVShowID,home)</onfocus>
  31.                 <onfocus>ClearProperty(PercentRemaining,home)</onfocus>
  32.                 <onfocus condition="Container.Content(tvshows)">SetProperty(TVShowTitle,$INFO[ListItem.TVShowTitle],home)</onfocus>
  33.                 <onfocus condition="Container.Content(tvshows)">SetProperty(TVShowID,$INFO[ListItem.IMDBNumber],home)</onfocus>
  34.                 <onfocus condition="Container.Content(tvshows)">SetProperty(TVShowRating,$INFO[ListItem.Rating],home)</onfocus>
  35.                 <onfocus condition="Container.Content(tvshows)">SetProperty(TVShowUserRating,$INFO[ListItem.UserRating],home)</onfocus>
  36.                 <onfocus condition="ListItem.IsResumable">SetProperty(PercentRemaining,$VAR[PercentRemaining],home)</onfocus>
  37.             </control>
  38.             <control type="group">
  39.                 <include>OverlayHD</include>
  40.                 <include>OverlayWatched</include>
  41.                 <include content="ParamProgress">
  42.                     <param name="width">320</param>
  43.                     <param name="OverlayWatched">false</param>
  44.                 </include>
  45.                 <control type="textbox">
  46.                     <top>55</top>
  47.                     <width>1000</width>
  48.                     <height>480</height>
  49.                     <textcolor>ffe9a01e</textcolor>
  50.                     <label>$INFO[ListItem.Label]</label>
  51.                 </control>
  52.             </control>
  53.         </focusedlayout>
  54.     </include>
  55.    
  56.     <include name="Viewtype105">
  57.         <control type="group">
  58.             <visible>Control.IsVisible(105)</visible>
  59.             <control type="image">
  60.                     <top>260</top>
  61.                     <left>200</left>
  62.                     <width>320</width>
  63.                     <height>480</height>
  64.                     <aspectratio align="center">scale</aspectratio>
  65.                     <texture fallback="views/movie_fallback.png">$VAR[PosterImage]</texture>
  66.                 </control>
  67.             <control id="105" type="fixedlist">
  68.                 <left>600</left>
  69.                 <top>260</top>
  70.                 <width>2036</width>
  71.                 <height>500</height>
  72.                 <onback condition="!String.IsEqual(Container(105).CurrentItem,0)">Control.Move(105,$INFO[Container(105).CurrentItem,-])</onback>
  73.                 <onback condition="!String.IsEqual(Container(105).CurrentItem,0)">Control.Move(105,1)</onback>
  74.                 <onup condition="!String.IsEqual(Container(105).CurrentItem,0)">Control.Move(105,$INFO[Container(105).CurrentItem,-])</onup>
  75.                 <onup condition="!String.IsEqual(Container(105).CurrentItem,0)">Control.Move(105,1)</onup>
  76.                 <onup>Back</onup>
  77.                 <ondown>1001</ondown>
  78.                 <onleft>Back</onleft>
  79.                 <onright>noop</onright>
  80.                 <onright condition="!Window.IsVisible(1103)">SetProperty(BounceRight,1,Home)</onright>
  81.                 <defaultcontrol always="true">0</defaultcontrol>
  82.                 <preloaditems>2</preloaditems>
  83.                 <focusposition>-1</focusposition>
  84.                 <viewtype label="">list</viewtype>
  85.                 <orientation>vertical</orientation>
  86.                 <scrolltime easing="inout" tween="sine">300</scrolltime>
  87.                 <include content="ViewListLayout">
  88.                     <param name="ID">105</param>
  89.                 </include>
  90.             </control>
  91.         </control>
  92.     </include>
  93. </includes>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement