hutley/HelloPhoneGap1.0 — pull request #4 by RaphaelDDL (2011-11-22 13:54:36+00:00)
Title: Added Background image support for tabBar

I've made some changes into your NativeControls and added option for user set a background image for createTabBar() if it don't want the default glossy black.

USAGE:
window.plugins.nativeControls.createTabBar(); // default iOS BG (Black with gloss)
window.plugins.nativeControls.createTabBar({ bgImage: 'www/img/tabBarImage.png' }); //path to some image at www folder

The effect is the same of a div with the following style:
#tabBar{
background:#000000 url('PATH_TO_IMAGE') 0 0 repeat;
}

That is, background always black and with image repeated both horizontally and vertically.
I tried add setOpaque to NO and tint it with clearColor or any other color (so i could se another option to create to have custom color) but i could not manage to do so. I only can apply color or image w/ black bg, but not image on any color.