2022-03-08, 19:34
@DiMag - here is a good thing to tinker with, the 'background transparency' setting's code
what it does:-
Apply animations/effects onto any control
you could re-position anything(with a choice of positions)
you could apply rotates, fades, slides, zooms to anything(with choices)
you can get your setup to sing&dance literally lol
xmls:-
Includes.xml, IncludesVariables.xml, SkinSettings.xml and strings.po
code is tiny - just 3 little blocks of code, one in each xml
there is a line of code which you need to tinker with first, then add it to the control of the thing you wish to apply the effect to
find the 'background transparency' setting in SkinSettings.xml then follow the labels to find the other 2 blocks of code.
see if you can, identify the other line of code yourself, which is needed to apply the effect onto the control (you should be able to figure it out)
you'll see in one of the code blocks the 'fade' effects - you just change the effects basically
if you do it right, say you apply a slide effect onto the floor buttons - you could choose from 6 different positions
later, you might be able to combine stuff - so 2 or 3 things happen (i.e. multiple homescreen layouts)
it basically a copy&paste job - you rename the labels, ids, etc. and add new to the strings.po
i couldnt believe something as small as the code is, you can do so much with it.
help with the animations/effects https://kodi.wiki/view/Animating_your_skin
what it does:-
Apply animations/effects onto any control
you could re-position anything(with a choice of positions)
you could apply rotates, fades, slides, zooms to anything(with choices)
you can get your setup to sing&dance literally lol
xmls:-
Includes.xml, IncludesVariables.xml, SkinSettings.xml and strings.po
code is tiny - just 3 little blocks of code, one in each xml
there is a line of code which you need to tinker with first, then add it to the control of the thing you wish to apply the effect to
find the 'background transparency' setting in SkinSettings.xml then follow the labels to find the other 2 blocks of code.
see if you can, identify the other line of code yourself, which is needed to apply the effect onto the control (you should be able to figure it out)
you'll see in one of the code blocks the 'fade' effects - you just change the effects basically
if you do it right, say you apply a slide effect onto the floor buttons - you could choose from 6 different positions
later, you might be able to combine stuff - so 2 or 3 things happen (i.e. multiple homescreen layouts)
it basically a copy&paste job - you rename the labels, ids, etc. and add new to the strings.po
i couldnt believe something as small as the code is, you can do so much with it.
help with the animations/effects https://kodi.wiki/view/Animating_your_skin