Hi,
Can we change the Tabbar header background with our own image ? How?
Regards,
Lalit
Hello,
It is possible by creating new skin.
The skin contains tabs images and some style properties.
Please, take a look at the icons of “silver” skin for top-aligned tabbar:
codebase/imgs/top/silver/
You can create some new skin and place its images in the corresponding folder: codebase/imgs/top/new/
tabbar.setSkin(“new”);
tabbar._styles.new= [“new/p_left.gif”,“new/p_middle.gif”,“new/p_right.gif”,“new/a_left.gif”,“new/a_middle.gif”,“new/a_right.gif”,“new/p_middle.gif”,7,8,6,“white”,“white”,“white”];
Why are there so many different images with different shape ? Do we need to create images of such random shapes ?
Cant we use a single rectangular image of the shape of tab ?
Thanks & Regards,
Lalit
Hello,
Unfortunately it isn’t possible to use one image.
The tabs can have different width and height. So, all these images are necessary. Images, which are started with “p_”, are designed for passive tabs, with “a_” - for active tab.