{ "id": "167418", "key": "TIMOB-24650", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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-05-03T00:59:20.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [ { "id": "54813", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "155275", "key": "TIMOB-20498", "fields": { "summary": "Android: Deprecate activity*Animation", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": null, "updated": "2018-02-28T19:55:45.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": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "*Summary:*\r\nWe plan on deprecating the Ti.UI.Window \"activityEnterAnimation\" and \"activityExitAnimation\" properties in favor of the following new activity transition properties:\r\n* activityEnterTransition\r\n* activityExitTransition\r\n\r\nBut we can't deprecate the older animation APIs since the above transition APIs are currently only supported on Android 5.0 and newer OS versions... and Titanium still supports Android 4.x devices. Because of this, developers are still forced to use the old animation APIs for consistent support on all Android OS versions.\r\n\r\n*Recommended Solution:*\r\nAdd support for Titanium's \"activityEnterTransition\" and \"activityExitTransition\" properties on Android 4.x by replicating this feature via the Activity.overridePendingTransition() method, like how it works for the existing/older animation properties. It is okay for the other transition properties, such as \"activityReturnTransition\", to be ignored on Android 4.x.\r\n\r\nThe new transition properties shall be favored over the older animation properties in case both are provided to the createWindow() function.\r\n\r\nAfter implementing the above, usage of the \"activityEnterAnimation\" and \"activityExitAnimation\" should log a warning that they are deprecated and recommend to the developer to use \"activityEnterTransition\" and \"activityExitTransition\" instead. The documentation for Ti.UI.Window (link below) will need to state that the Android animation properties are deprecated as well per [TIMOB-20498].\r\n http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.Window\r\n", "attachment": [], "flagged": false, "summary": "Android: Add activityEnterTransition/activityExitTransition support to Android 4.x", "creator": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }