2016-01-12, 20:55
I'm currently tweaking the Amber skin and I've come quite far already but this is something I'm struggling with.
The AppTV skin has exactly what I'm looking for.
And this is Amber
I would love to make it so that the Selector is in a fixed position (in the middle)
I'm running Kodi 14.2 Helix and Amber 2.0.17
This is the part of the code in View_50.xml which handles the list
Complete .xml file on the Github
This is the part of AppTV's code in View-Video.xml which handles the fixedlist
I've been messing around, trying multiple things, reading the wiki over and over again but I just can't get it to work.
Would be great if someone here could point me in the right direction.
The AppTV skin has exactly what I'm looking for.
And this is Amber
I would love to make it so that the Selector is in a fixed position (in the middle)
I'm running Kodi 14.2 Helix and Amber 2.0.17
This is the part of the code in View_50.xml which handles the list
Code:
<control type="group">
<visible>Control.IsVisible(50)</visible>
<include>ContentFade</include>
<control type="list" id="50">
<viewtype label="535">List</viewtype>
<posx>710</posx>
<posy>406</posy>
<width>1210</width>
<height>648</height>
<pagecontrol>60</pagecontrol>
<onleft>9000</onleft>
<onright>60</onright>
<onup>50</onup>
<ondown>50</ondown>
<preloaditems>4</preloaditems>
<include>List_Layout</include>
</control>
This is the part of AppTV's code in View-Video.xml which handles the fixedlist
Code:
<include name="VideoListView">
<control type="fixedlist" id="50">
<viewtype label="31941">list</viewtype>
<left>668</left>
<top>116</top>
<width>555</width>
<height>532</height>
<focusposition>2</focusposition>
<movement>4</movement>
<onleft condition="Skin.HasSetting(lock-screensettings)">noop</onleft>
<onleft condition="!Skin.HasSetting(lock-screensettings)">9000</onleft>
<onright condition="StringCompare(Skin.String(show-scrollbar),$LOCALIZE[31877])">noop</onright>
<onright condition="!StringCompare(Skin.String(show-scrollbar),$LOCALIZE[31877])">1250</onright>
<onup>50</onup>
<ondown>50</ondown>
<preloaditems>2</preloaditems>
<pagecontrol>1250</pagecontrol>
<itemlayout width="575" height="66">
-- snip --
<focusedlayout width="575" height="66">
-- snip --
</control>
I've been messing around, trying multiple things, reading the wiki over and over again but I just can't get it to work.
Would be great if someone here could point me in the right direction.