in custom page Custom_9120_FunMovie.xml :
xml:
<window id="9120">
<defaultcontrol always="true">9120</defaultcontrol>
<controls>
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>1280</width>
<height>720</height>
<texture>$INFO[Container(9120).ListItem.ActualIcon]</texture>
</control>
<!-- Video Info -->
<include condition="!Skin.HasSetting(FunMoviePageHideRecentlyAddedVideo) | !Skin.HasSetting(FunMoviepageHideRecentlyAddedAlbums)">FunMovieRecentlyAddedInfo</include>
<control type="list" id="9120">
<posx>40</posx>
<posy>500</posy>
<height>200</height>
<width>1200</width>
<onup>8198</onup>
<ondown>-</ondown>
<onleft>10000</onleft>
<onright>10000</onright>
<focusposition>0</focusposition>
<orientation>horizontal</orientation>
<itemlayout width="200" height="200">
<control type="label">
<posx>0</posx>
<posy>50</posy>
<width>200</width>
<height>100</height>
<label>[UPPERCASE]$INFO[ListItem.label][/UPPERCASE]</label>
<align>center</align>
<aligny>center</aligny>
<font>32</font>
<textcolor>white</textcolor>
</control>
</itemlayout>
<focusedlayout width="200" height="200">
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>200</width>
<height>200</height>
<align>left</align>
<texture>icons/round.png</texture>
</control>
<control type="label">
<posx>0</posx>
<posy>50</posy>
<width>200</width>
<height>100</height>
<label>[UPPERCASE]$INFO[ListItem.label][/UPPERCASE]</label>
<align>center</align>
<aligny>center</aligny>
<font>32</font>
<textcolor>yellow</textcolor>
</control>
</focusedlayout>
<content>
<item id="2">
<label>31953</label>
<onclick condition="String.IsEqual(Window.Property(VideosDirectLink),True)">ActivateWindow(Videos)</onclick>
<onclick condition="!String.IsEqual(Window.Property(VideosDirectLink),True)">ActivateWindow(Videos,root)</onclick>
<icon></icon>
<thumb></thumb>
<visible>!Skin.HasSetting(FunMovieMenuNoMovieButton)</visible>
</item>
<item id="9">
<label>31954</label>
<onclick>ActivateWindow(Videos,MovieTitles,return)</onclick>
<icon></icon>
<thumb></thumb>
<visible>!Skin.HasSetting(FunMovieMenuNoMovieButton) + Library.HasContent(Movies)</visible>
</item>
</content>
</control>
</controls>
</window>
and in IncludesFunMovieRecentlyAdded.xml is:
xml:
<?xml version="1.0" encoding="UTF-8"?>
<includes>
<include name="FunMovieRecentlyAddedInfo">
<control type="group" id="9003">
<depth>DepthMenu</depth>
<onup>9120</onup>
<visible>!Window.IsVisible(Favourites)</visible>
<include>VisibleFadeEffect</include>
<animation effect="fade" time="225" delay="750">WindowOpen</animation>
<animation effect="fade" time="150">WindowClose</animation>
<control type="group">
<left>190</left>
<top>50</top>
<visible>Library.HasContent(Movies)</visible>
<visible>Container(9120).Hasfocus(9) + !Skin.HasSetting(FunMoviePageHideRecentlyAddedVideo)</visible>
<include>VisibleFadeEffect</include>
<control type="label">
<description>Title label</description>
<left>180</left>
<top>220</top>
<height>20</height>
<width>540</width>
<label>20386</label>
<align>center</align>
<aligny>center</aligny>
<font>font12_title</font>
<textcolor>white</textcolor>
<shadowcolor>black</shadowcolor>
</control>
<control type="list" id="8000">
<animation effect="slide" start="0,0" end="90,0" time="0" condition="String.IsEqual(Container(8000).NumItems,4)">conditional</animation>
<animation effect="slide" start="0,0" end="180,0" time="0" condition="String.IsEqual(Container(8000).NumItems,3)">conditional</animation>
<animation effect="slide" start="0,0" end="270,0" time="0" condition="String.IsEqual(Container(8000).NumItems,2)">conditional</animation>
<animation effect="slide" start="0,0" end="360,0" time="0" condition="String.IsEqual(Container(8000).NumItems,1)">conditional</animation>
<left>0</left>
<top>0</top>
<width>900</width>
<height>220</height>
<onleft>8000</onleft>
<onright>8000</onright>
<onup>9120</onup>
<ondown>9120</ondown>
<viewtype label="535">list</viewtype>
<pagecontrol/>
<visible>true</visible>
<scrolltime>200</scrolltime>
<orientation>Horizontal</orientation>
<itemlayout height="220" width="180">
<control type="image">
<description>background</description>
<left>0</left>
<top>0</top>
<width>180</width>
<height>220</height>
<texture border="15">RecentAddedBack.png</texture>
</control>
<control type="image">
<left>10</left>
<top>10</top>
<width>160</width>
<height>170</height>
<texture background="true">$INFO[ListItem.Icon]</texture>
<aspectratio>keep</aspectratio>
<bordertexture border="5">button-nofocus.png</bordertexture>
<bordersize>5</bordersize>
</control>
<control type="label">
<left>15</left>
<top>185</top>
<width>150</width>
<height>20</height>
<font>font12</font>
<textcolor>white</textcolor>
<shadowcolor>black</shadowcolor>
<selectedcolor>selected</selectedcolor>
<align>center</align>
<aligny>center</aligny>
<label>$INFO[ListItem.Label]</label>
</control>
</itemlayout>
<focusedlayout height="220" width="180">
<control type="image">
<description>background</description>
<left>0</left>
<top>0</top>
<width>180</width>
<height>220</height>
<texture border="15">RecentAddedBack.png</texture>
</control>
<control type="image">
<left>10</left>
<top>10</top>
<width>160</width>
<height>170</height>
<texture background="true">$INFO[ListItem.Icon]</texture>
<aspectratio>keep</aspectratio>
<bordertexture border="5">folder-focus.png</bordertexture>
<bordersize>5</bordersize>
<visible>Control.HasFocus(8000)</visible>
</control>
<control type="image">
<left>10</left>
<top>10</top>
<width>160</width>
<height>170</height>
<texture>$INFO[ListItem.Icon]</texture>
<aspectratio>keep</aspectratio>
<bordertexture border="5">button-nofocus.png</bordertexture>
<bordersize>5</bordersize>
<visible>!Control.HasFocus(8000)</visible>
</control>
<control type="label">
<left>15</left>
<top>185</top>
<width>150</width>
<height>20</height>
<font>font12</font>
<textcolor>white</textcolor>
<shadowcolor>black</shadowcolor>
<selectedcolor>selected</selectedcolor>
<align>center</align>
<aligny>center</aligny>
<label>$INFO[ListItem.Label]</label>
<visible>!Control.HasFocus(8000)</visible>
</control>
<control type="label">
<left>15</left>
<top>185</top>
<width>150</width>
<height>20</height>
<font>font12</font>
<textcolor>blue</textcolor>
<selectedcolor>selected</selectedcolor>
<align>center</align>
<aligny>center</aligny>
<label>$INFO[ListItem.Label]</label>
<visible>Control.HasFocus(8000)</visible>
</control>
</focusedlayout>
<content>
<item>
<label>$INFO[Window.Property(LatestMovie.1.Title)]</label>
<label2 />
<onclick>PlayMedia($ESCINFO[Window.Property(LatestMovie.1.Path)])</onclick>
<icon>DefaultVideoCover.png</icon>
<thumb>$INFO[Window.Property(LatestMovie.1.Thumb)]</thumb>
<visible>!String.IsEmpty(Window.Property(LatestMovie.1.Title))</visible>
</item>
<item>
<label>$INFO[Window.Property(LatestMovie.2.Title)]</label>
<label2 />
<onclick>PlayMedia($ESCINFO[Window.Property(LatestMovie.2.Path)])</onclick>
<icon>DefaultVideoCover.png</icon>
<thumb>$INFO[Window.Property(LatestMovie.2.Thumb)]</thumb>
<visible>!String.IsEmpty(Window.Property(LatestMovie.2.Title))</visible>
</item>
<item>
<label>$INFO[Window.Property(LatestMovie.3.Title)]</label>
<label2 />
<onclick>PlayMedia($ESCINFO[Window.Property(LatestMovie.3.Path)])</onclick>
<icon>DefaultVideoCover.png</icon>
<thumb>$INFO[Window.Property(LatestMovie.3.Thumb)]</thumb>
<visible>!String.IsEmpty(Window.Property(LatestMovie.3.Title))</visible>
</item>
<item>
<label>$INFO[Window.Property(LatestMovie.4.Title)]</label>
<label2 />
<onclick>PlayMedia($ESCINFO[Window.Property(LatestMovie.4.Path)])</onclick>
<icon>DefaultVideoCover.png</icon>
<thumb>$INFO[Window.Property(LatestMovie.4.Thumb)]</thumb>
<visible>!String.IsEmpty(Window.Property(LatestMovie.4.Title))</visible>
</item>
<item>
<label>$INFO[Window.Property(LatestMovie.5.Title)]</label>
<label2 />
<onclick>PlayMedia($ESCINFO[Window.Property(LatestMovie.5.Path)])</onclick>
<icon>DefaultVideoCover.png</icon>
<thumb>$INFO[Window.Property(LatestMovie.5.Thumb)]</thumb>
<visible>!String.IsEmpty(Window.Property(LatestMovie.5.Title))</visible>
</item>
<item>
<label>$INFO[Window.Property(LatestMovie.6.Title)]</label>
<label2 />
<onclick>PlayMedia($ESCINFO[Window.Property(LatestMovie.6.Path)])</onclick>
<icon>DefaultVideoCover.png</icon>
<thumb>$INFO[Window.Property(LatestMovie.6.Thumb)]</thumb>
<visible>!String.IsEmpty(Window.Property(LatestMovie.6.Title))</visible>
</item>
<item>
<label>$INFO[Window.Property(LatestMovie.7.Title)]</label>
<label2 />
<onclick>PlayMedia($ESCINFO[Window.Property(LatestMovie.7.Path)])</onclick>
<icon>DefaultVideoCover.png</icon>
<thumb>$INFO[Window.Property(LatestMovie.7.Thumb)]</thumb>
<visible>!String.IsEmpty(Window.Property(LatestMovie.7.Title))</visible>
</item>
<item>
<label>$INFO[Window.Property(LatestMovie.8.Title)]</label>
<label2 />
<onclick>PlayMedia($ESCINFO[Window.Property(LatestMovie.8.Path)])</onclick>
<icon>DefaultVideoCover.png</icon>
<thumb>$INFO[Window.Property(LatestMovie.8.Thumb)]</thumb>
<visible>!String.IsEmpty(Window.Property(LatestMovie.8.Title))</visible>
</item>
<item>
<label>$INFO[Window.Property(LatestMovie.9.Title)]</label>
<label2 />
<onclick>PlayMedia($ESCINFO[Window.Property(LatestMovie.9.Path)])</onclick>
<icon>DefaultVideoCover.png</icon>
<thumb>$INFO[Window.Property(LatestMovie.9.Thumb)]</thumb>
<visible>!String.IsEmpty(Window.Property(LatestMovie.9.Title))</visible>
</item>
<item>
<label>$INFO[Window.Property(LatestMovie.10.Title)]</label>
<label2 />
<onclick>PlayMedia($ESCINFO[Window.Property(LatestMovie.10.Path)])</onclick>
<icon>DefaultVideoCover.png</icon>
<thumb>$INFO[Window.Property(LatestMovie.10.Thumb)]</thumb>
<visible>!String.IsEmpty(Window.Property(LatestMovie.10.Title))</visible>
</item>
</content>
</control>
<control type="button">
<description>left Arrow</description>
<left>-40</left>
<top>90</top>
<width>30</width>
<height>40</height>
<texturefocus>arrow-big-left.png</texturefocus>
<texturenofocus>arrow-big-left.png</texturenofocus>
<onclick>Control.Move(8000,-1)</onclick>
<visible>Control.HasFocus(8000) + Container(8000).HasPrevious</visible>
<include>VisibleFadeEffect</include>
</control>
<control type="button">
<description>right Arrow</description>
<left>910</left>
<top>90</top>
<width>30</width>
<height>40</height>
<texturefocus>arrow-big-right.png</texturefocus>
<texturenofocus>arrow-big-right.png</texturenofocus>
<onclick>Control.Move(8000,1)</onclick>
<visible>Control.HasFocus(8000) + Container(8000).HasNext</visible>
<include>VisibleFadeEffect</include>
</control>
</control>
</control>
</include>
</includes>
an in SkinSettings.xml I added two radio buttons under <control type="grouplist" id="9002">
is:
xml:
<control type="radiobutton" id="207">
<description>Show Recently added Video New</description>
<width>750</width>
<height>40</height>
<font>font13</font>
<textcolor>grey2</textcolor>
<focusedcolor>white</focusedcolor>
<label>31117</label>
<onclick>Skin.ToggleSetting(EntertainmentPageHideRecentlyAddedVideo)</onclick>
<selected>!Skin.HasSetting(EntertainmentPageHideRecentlyAddedVideo)</selected>
<texturefocus>MenuItemFO.png</texturefocus>
<texturenofocus>MenuItemNF.png</texturenofocus>
</control>
<control type="radiobutton" id="208">
<description>Show Recently added info</description>
<width>750</width>
<height>40</height>
<font>font13</font>
<textcolor>grey2</textcolor>
<focusedcolor>white</focusedcolor>
<label>31116</label>
<onclick>Skin.ToggleSetting(EntertainmentpageHideRecentlyAddedAlbums)</onclick>
<selected>!Skin.HasSetting(EntertainmentpageHideRecentlyAddedAlbums)</selected>
<texturefocus>MenuItemFO.png</texturefocus>
<texturenofocus>MenuItemNF.png</texturenofocus>
</control>