I'm trying to create a toolbar at the top of the app with a logo and 2 buttons. Right now I'm creating a view and added it to the window like this:
var toolbar = Ti.UI.createView({ width:320, height:Ti.App.toolbarHeight, top:0, backgroundGradient:{ type:'linear', startPoint:{x:'0%',y:'50%'}, endPoint:{x:'100%',y:'50%'}, colors:[{color:'#8ca61b',offset:0.0},{color:'#9bb81e',offset:1}] } });And it works fine, but when I'm in a tabbed view with the toolbar, the toolbar seems to "refresh" or flicker when a new tab is selected.
Is there something I can do about this? Or should I be making the toolbar in a completely different way?
Any help is appreciated :)
1 Answer
I fixed this by creating buttons on the titlebar and added custom images to the buttons.
Your Answer
Think you can help? Login to answer this question!