Kodi Community Forum
Solved included view !! - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+--- Thread: Solved included view !! (/showthread.php?tid=193695)



included view !! - Reynald - 2014-05-01

Why in skin foundation, when I add this view (vue_slide_51) it does not work? yet I make an xml view 51!



<?xml version="1.0" encoding="UTF-8"?>
<!-- Foundation -->
PHP Code:
<window id="6">
    <
defaultcontrol always="true">50</defaultcontrol>
    <
allowoverlay>yes</allowoverlay>
    <
views>50</views>

    <
controls>

        <
control type="radiobutton" id="19">
            <
description>Filter (hidden)</description>
            <include>
HiddenButton</include>
        </
control>

        <include>
GlobalBackground</include>

        <include>
View_50_List</include>
        <include>
View_51_slide</include> 

thx .


RE: included view !! - MassIV - 2014-05-01

Code:
<views>50,51</views>

Also if you have that view in a separate file make sure to add that file in includes.

Code:
<include file="My_View.xml" />



RE: included view !! - Reynald - 2014-05-01

Thank you very much for your replyWink


RE: included view !! - Reynald - 2014-05-01

well, it does not work, I do not understand ..
There are lines like: view type label "535" / / I absolutely do not know where this 535 comes in the language file there is nothing like that. Pff i will have to put me of hours of reading of wiki , just for personalized Foundation! Something crazy as they say!
Okay well I'm deserter about the skinner , too complicated for me, I despair


RE: included view !! - Hitcher - 2014-05-01

The list name comes from XBMC's language file -

https://raw.githubusercontent.com/xbmc/xbmc/master/language/English/strings.po

In this case 'List'.

Also check any visible conditions in your new view type.

ie <visible>Control.HasFocus(51)</visible>


RE: included view !! - Reynald - 2014-05-02

ah ok !!!!!!! I did not understand the 535! Thank you Smile hitcher