Is there a way I can use the dots page indicator but have the internal colour change depending on which screen is…
Is there a way I can use the dots page indicator but have the internal colour change depending on which screen is showing. Thanks in advance
]]>
« Appdrawer in any container: new Version (Previous Post)
< ![CDATA[
Tried it with tryanguloy ‘s interpolation script. Playing with more than 1 page indicator on different pages and use Alpha on the page indicator to not show on specific page.
]]>
< ![CDATA[
Or through a script: use the position change event and compute the current page this way:
var c = LL.getEvent().getContainer();
var page_x = c.getPositionX()/c.getWidth();
According to the page index you can then set the dots inner color:
var page_indicator = c.getItemByName(‘your_pi_name_here”);
page_indicator.getProperties().edit().setInteger(“p.dotsInnerColor”, some_color).commit();
]]>
< ![CDATA[
Thats probably a better and faster way. Thanks Pierre Hébert
]]>
< ![CDATA[
Just a different way, but animations using TrianguloY script open a lot of perspectives.
]]>
< ![CDATA[
Thanks Pierre Hébert thanks Evelien Wijbenga will give this a try.
]]>