Doesn't seem that the gradient works for the buttonbar either. So here is the workaround:
myButtonBar = Ti.UI.createButtonBar({
        id:'buttonbar',
        height:40,
        backgroundColor:'#663399',
        style:Titanium.UI.iPhone.SystemButtonStyle.BAR,
        labels:['Close Keyboard >']
    });
Just use a background color and the Titanium.UI.iPhone.SystemButtonStyle.BAR as the style -- and the app will create a gradient for you -- from lighter to darker.
Subscribe to:
Post Comments (Atom)
 
 

No comments:
Post a Comment