Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (android)
Viewing all articles
Browse latest Browse all 7655

Android Alloy animation new window

$
0
0

Hi, i'm trying to open a new window in Alloy, by first fade out the actual window and then fade it the new window, but the default animation when you open the new window keeps going on, any idea?, thanks for your time.

function doLogin(e) {
    var login=$.index;
    var animation = require('alloy/animation');
    // var animate=animation.crossFade(login, win, 300, function(){});
    var win = Alloy.createController("main").getView();
    var animate1=animation.fadeOut(login, 500, function(){
        var ani1=animation.fadeIn(win, 500, function () {});
        win.open(ani1, {animated:false});
    });
};

Viewing all articles
Browse latest Browse all 7655

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>