0
我是Titanium Appcelerator的新手。我建立了Android.I的應用程序有一個要求加入應用程序的導航欄中有兩個圖標:在Appcelerator中,如何在導航欄中添加圖像(用於Android應用程序)以及該圖像的事件監聽器
- 首頁圖標,點擊事件回到主頁。
- APPICON在導航欄
我看到,存在可用於如下面的iOS類似的性質:
- titleImage:字符串
- 工具欄:對象[]
- titleControl
樣本代碼
var titleLabel = Ti.UI.createLabel({
backgroundImage :'/logo.png',
height : 34,
width: 193,
});
$.clientMainScreenWin.setTitleControl(titleLabel);
是否有Android應用