我在Titanium中创建了一个imageView,现在我想使用淡出动画隐藏它,同时更改视图的backgroundColor。
我有以下代码
var image = Titanium.UI.createImageView({
backgroundImage:'test.png',
width:10,
height:10,
top:100,
left:205
});
image.animate({
curve:Ti.UI.ANIMATION_CURVE_EASE_IN_OUT,
opacity:10,
duration:200
});