I have created an imageView in Titanium and now I would like to hide it using an fade out animation along with changing the backgroundColor of the view.
I have the following code
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
});