Demo apps of Image zoom and zoom out.

You must Login before you can answer or comment on any questions.

how to zoom in zoom out image using animation in titanium any demo related to that.

— asked 9 months ago by Vijay B
0 Comments

2 Answers

If you want to zoom by animation try this:

var win = Ti.UI.createWindow();
var img = Ti.UI.createImageView({
    url:"http://static.appcelerator.com/images/header/appc_logo200.png",
    width: 200,
    height: 42
});
 
win.addEventListener("open", function() {
    img.animate({
        height:2000, 
        width: 420, 
        duration: 1000}, function() {
            img.animate({
                height: 200,
                width: 42,
                duration: 1000
            });
        } );
});
win.add(img);
 
win.open();

Your Answer

Think you can help? Login to answer this question!