开发者

Replacing the regular navigation bar with an image! (Titanium Appcelerator)

I tried adding barimage:'corkboard.jpg', b开发者_StackOverflowut it does not work but it does only works for colors barColor='#fff',

I'm still new and learning and I really would like to implement this :S

var win3 = Titanium.UI.createWindow({

title:'TESTING', barimage:'corkboard.jpg', backgroundImage:'background.png', backgroundColor:'#fff' });


The Window properties are case sensitivity!

  • barimage FALSE
  • barImage CORRECT

barImage works only on iPhone!

Is the image location correct? The code below is in the Resources/app.js and the image is the same folder.

var win1 = Titanium.UI.createWindow({
    title:'window',
    barImage: 'bg.png',
    backgroundColor:'#fff',
    url:'win1.js'
});
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜