[TIMOB-10302] Android: Heavyweight window animations on open not working
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-11-16T10:12:09.000+0000 |
Affected Version/s | Release 2.1.1 |
Fix Version/s | Release 3.1.0, 2012 Sprint 23 Core, 2012 Sprint 23 |
Components | Android |
Labels | SupportTeam, core, insight, module_animation, qe-testadded |
Reporter | Varun Joshi |
Assignee | Bill Dawson |
Created | 2012-08-02T15:10:02.000+0000 |
Updated | 2013-09-27T09:27:29.000+0000 |
Author says that the animation shows on Android 2.3. I'm not seeing that. I would think this isn't working at all, anywhere, on any version of Android. Still investigating solution.
With exactly that code above? If you change the code to change the slide_it_left.duration to 3000 (instead of 300) to make it very exaggerated and slow, you see a slow animation? I see nothing but the default activity transition that Android always shows.
Can you try my suggestion and see if you see a slow, 3-second long transition from left to right?
Title changed to reflect that work being done on this is for heavyweight windows only, since the sample fail case is a heavyweight window. window.open() animations are also not working on lightweight windows, but those need to be handled differently and thus via another ticket that I will create and link here.
Here is what I see: http://screencast.com/t/ZGJctsVs [On Google APIS Android 2.3.3 Emulator] and http://screencast.com/t/qR3ByVucJjp [On Google APIS Android 4.0 Emulator]
Did you make the change to 3000 for those videos?
Testing Notes
Review the documentation changes (the diff in the pull request) to understand what's going on.
Create a new Titanium Android application and use the following as the app.js:
Run the app.
After the app loads and the empty white window appears, click the white window anywhere.
You should see a new window (activity) open and fade-in (to red) as it does so. (You should see it go through some pink stages before hitting its solid red.)
Pull request ready: https://github.com/appcelerator/titanium_mobile/pull/3431
It s working great except that on my 4.1 device only the enter animation works. The exit animation still is the Scale/fade effect. Same on the simulator
as the title, it's not working when we're using heavyweight window, does it mean it's working for lightwindow? but for me, both are not working. my system is sdk2.1.1, android4.0
Environment used for verification - Titanium SDK: 3.1.0.v20130114171802 Titanium Studio: 3.0.1.201212181159 Device : Samsung GALAXY Note Android 2.3.6, Nexus 7 Android 4.1