Kodi Community Forum

Full Version: alphabet scroll
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
how would I call on this with longpress down or up? and is this something that has to be implemented with skin helper service?

thanks for any advice
My implemenation

Code:
    <include name="SortLetterOverlay">
        <control type="group">
            <visible>Container.Scrolling + [String.IsEqual(Container.SortMethod,$LOCALIZE[551]) | String.IsEqual(Container.SortMethod,$LOCALIZE[561]) | String.IsEqual(Container.SortMethod,$LOCALIZE[558]) | String.IsEqual(Container.SortMethod,$LOCALIZE[557]) | String.IsEqual(Container.SortMethod,$LOCALIZE[556]) | String.IsEqual(Container.SortMethod,$LOCALIZE[563])]</visible>            
            <animation effect="fade" start="0" end="100" time="120" reversible="true" delay="200">VisibleChange</animation>
            <animation effect="fade" start="0" end="100" time="0" reversible="true" delay="300">WindowOpen</animation>
            <right>12</right>
            <bottom>12</bottom>
            <width>183</width>
            <height>183</height>
            <control type="image">
                <width>183</width>
                <height>183</height>
                <texture border="48">views/shadow_fo.png</texture>
            </control>
            <control type="image">
                <left>48</left>
                <top>48</top>
                <width>87</width>
                <height>87</height>
                <texture border="4">dialogs/DialogNotificationBackground.png</texture>
            </control>
            <control id="401" type="label">
                <left>47</left>
                <top>48</top>
                <width>87</width>
                <height>87</height>
                <font>Med48</font>
                <align>center</align>
                <label>$INFO[ListItem.SortLetter]</label>
                <textcolor>ffdadada</textcolor>
            </control>
        </control>
    </include>

And include it in MyVideoNav.xml and all other library windows.
Thanks so simple I totally over thought that one.