how to change skin on click of a button? - 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: how to change skin on click of a button? (/showthread.php?tid=125445) |
how to change skin on click of a button? - slinuxgeek - 2012-03-13 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>?</onclick> </control> Thanks for Help. RE: how to change skin on click of a button? - Hitcher - 2012-03-13 I don't think it's possible. RE: how to change skin on click of a button? - slinuxgeek - 2012-03-14 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. RE: how to change skin on click of a button? - jmarshall - 2012-03-14 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. |