{ "id": "172062", "key": "AC-5837", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2018-08-14T16:18:17.000+0000", "created": "2018-08-14T14:37:53.000+0000", "labels": [ "Android", "bug" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2018-08-14T16:18:18.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "I'm trying to configure my windows to use consistent transition animations and found that while activityEnterAnimation works properly, the values I specify for activityExitAnimation are ignored and the default animation is used instead.\r\n\r\nWindow 1 XML:\r\n{code:xml}\r\n\r\n\r\n\t\r\n\t\t\r\n\t\t\r\n\t\r\n\r\n\r\n{code}\r\n\r\nWindow 1 Controller JS:\r\n\r\n{code:javascript}\r\nfunction openWin2() {\r\n var objWin = Alloy.createController('testWin2').getView();\r\n objWin.open();\r\n}\r\n$.testWin1.open({\r\n\tactivityEnterAnimation: Ti.Android.R.anim.fade_in,\r\n\tactivityExitAnimation: Ti.Android.R.anim.fade_out\r\n});\r\n{code}\r\n\r\nWindow 2 XML:\r\n{code:xml}\r\n\r\n\r\n\t>\r\n\t\t\r\n\t\t\r\n\t\r\n\r\n\r\n{code}\r\n\r\nWindow 2 Controller JS:\r\n{code:javascript}\r\nfunction closeWin() {\r\n\t$.testWin2.close();\r\n}\r\n$.testWin2.open({\r\n\tactivityEnterAnimation: Ti.Android.R.anim.fade_in,\r\n\tactivityExitAnimation: Ti.Android.R.anim.fade_out\r\n});\r\n{code}\r\n\r\nNote that I've tried several different values for activityExitAnimation (as identified on https://developer.android.com/reference/android/R.anim) and they were all ignored. I also tried testing in both Android 16 and Android 23 and the result was the same in both places (although of course the default animation differs between android releases).", "attachment": [], "flagged": false, "summary": "Android: Window activityExitAnimation is Ignored", "creator": { "name": "rkenny", "key": "rkenny", "displayName": "Russell Kenny ", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "rkenny", "key": "rkenny", "displayName": "Russell Kenny ", "active": true, "timeZone": "America/New_York" }, "environment": "Appcelerator Studio 5.0.0\r\nTitanium 7.2.1 (Checked out and compiled latest code as of 8/14/18)", "comment": { "comments": [ { "id": "440757", "author": { "name": "rkenny", "key": "rkenny", "displayName": "Russell Kenny ", "active": true, "timeZone": "America/New_York" }, "body": "Sorry, I just saw that this is a duplicate of TIMOB-24586.", "updateAuthor": { "name": "rkenny", "key": "rkenny", "displayName": "Russell Kenny ", "active": true, "timeZone": "America/New_York" }, "created": "2018-08-14T14:44:18.000+0000", "updated": "2018-08-14T14:44:18.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }