Kodi Community Forum

Full Version: how to change skin on click of a button?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How can we switch to another skin, by clicking on a button, If we know the skin name which we want to switch to?
Suppose we want to switch back to confluence.
then what to write in:

<control type="button">
<onclick>HuhHuh?</onclick>
</control>

Thanks for Help.
I don't think it's possible.
I copied DialogSelect.xml from confluence skin folder to my skin folder.
and on click of a button I fired : ActivateWindow(selectdialog)

a blank dialog appeared, then I copied all images from "skin.confluence/media" to "skin.my_skin/media"
even then the dialog window is blank.
It should display all available skins , so that I can select any one to apply , but it's not.
How to resolve the issue?

Thank You.
It's not possible to do this from the skin. You could probably do it from a script but it both wouldn't be reliable and wouldn't be advisable.