Refer to image provided by addon
#1
Hi,

Probably a noob question, but I did search honest. How can I include a (control type=) image in a skin that is provided by the addon that I'm skinning. For example custom weather icons and so on. Is this possible? Or do I need to actually drop the files into the skin directory?

To be specific I want something like this:

Code:
<control type="image">
    <posx>0</posx>
    <posy>0</posy>
    <width>100</width>
    <height>100</height>
    <!--This png comes from the addon  -->
    <texture border="0,2,0,2">SomeAddonImage.png</texture>
</control>

Can this be done?

Paul
Reply
#2
you include the images with your addon (same as you'll do for the skin xml files)

most addons use a sturcture like this for skin xml files and images:
script.my-addon/resources/skins/Default/720p
script.my-addon/resources/skins/Default/media
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply

Logout Mark Read Team Forum Stats Members Help
Refer to image provided by addon0