【发布时间】:2012-04-15 20:05:28
【问题描述】:
我想在带有文本的按钮上显示图标。我为此使用以下代码。
var refreshButton = Titanium.UI.createButton({
image :'refresh.jpg',
top : 0,
height : 100,
left : width,
width : width,
title : 'Refresh'
})
来自 appcelerator api 文档。
image:显示在按钮左侧的图像 标题
但像 backgroundImage 一样工作
我错过了什么吗?
【问题讨论】:
标签: android image button titanium appcelerator