{ "id": "166920", "key": "TIMOB-24586", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2017-04-04T04:59:17.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2018-08-14T16:17:51.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [], "description": "activityExitAnimation animation doesn't work during window close. However, activityEnterAnimation works perfectly fine.\r\n\r\n{code:title=app.js|borderStyle=solid}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor:'white'\r\n});\r\n\r\nvar button = Ti.UI.createButton({title:'open'});\r\nbutton.addEventListener('click', function (){\r\n var win = Ti.UI.createWindow({\r\n backgroundColor:'blue',\r\n modal:false\r\n });\r\n win.addEventListener('android:back', function(){\r\n win.close({\r\n activityEnterAnimation : Ti.Android.R.anim.slide_in_left,\r\n activityExitAnimation : Ti.Android.R.anim.slide_in_left\r\n });\r\n })\r\n win.open({\r\n activityEnterAnimation : Ti.Android.R.anim.slide_in_left,\r\n activityExitAnimation : Ti.Android.R.anim.slide_in_left\r\n })\r\n});\r\nwin.add(button);\r\nwin.open();\r\n{code}\r\n\r\n\r\ncreate a basic Alloy project. Then a new controller' events' and use the below code:\r\n\r\n*index.xml*\r\n\r\n\t\r\n\t\t\r\n\t\t\r\n\t\r\n\r\n\r\n*index.js*\r\nfunction doClick(e) {\r\n console.log(JSON.stringify(e));\r\n Alloy.createController('events').getView().open({\r\n activityEnterAnimation : Ti.Android.R.anim.slide_in_left,\r\n activityExitAnimation : Ti.Android.R.anim.slide_in_left,\r\n // animated:true\r\n });\r\n}\r\n\r\n$.index.open();\r\n\r\n\r\n*events.xml*\r\n\r\n\t\r\n\t\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t\r\n\r\n\r\n*events.js*\r\n\r\nvar args = $.args;\r\n\r\nfunction close(e) {\r\n $.events.close({\r\n activityEnterAnimation : Ti.Android.R.anim.slide_in_left,\r\n activityExitAnimation : Ti.Android.R.anim.slide_in_left,\r\n animted : true\r\n });\r\n}", "attachment": [], "flagged": false, "summary": "activityExitAnimation doesn't work", "creator": { "name": "isener", "key": "isener", "displayName": "ILAY SENER", "active": true, "timeZone": "Australia/Sydney" }, "subtasks": [], "reporter": { "name": "isener", "key": "isener", "displayName": "ILAY SENER", "active": true, "timeZone": "Australia/Sydney" }, "environment": "Mac OSX,\r\nAndroid Emulator (6.0)\r\nTitanium SDK : 6.0.3\r\nStudio: 4.8.1.201612050850", "comment": { "comments": [ { "id": "417523", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "Looks like a SDK issue, moving to TIMOB.", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2017-04-17T22:30:31.000+0000", "updated": "2017-04-17T22:30:31.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }