Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Android transform animations

$
0
0

Hello,

Does anyone has fresh info on what animations we can or cannot use on android?

I'm trying to translate views and results are odd. All I can find in Q&A are 4 years old answers about what can be used.

For instance, here's my code for translating a view from outside the screen on the right to left 0.

var view = Ti.UI.createView({
    height: Ti.UI.FILL,
    transform: Ti.UI.create2DMatrix().translate(Alloy.Globals.Device.width, 0)
});
I know I can animate left, top, opacity and so on but left and top animations have poor performances. On iOS, 3DMatrix give me very good perf but it's another story on Android.

Thank for your help.


Viewing all articles
Browse latest Browse all 8068

Trending Articles



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