{ "id": "147576", "key": "AC-1607", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2015-08-07T22:33:06.000+0000", "created": "2015-05-06T09:23:29.000+0000", "labels": [ "andoid" ], "versions": [], "issuelinks": [], "assignee": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "updated": "2016-03-08T07:38:05.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "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": "The following animation is supposed to obscure the main white view (with what's drawn on it) with a half-transparent black (I put a popup on top of the overlay). You should see the the white view getting darker until it's covered with half-black transparent. I use a backgroundColor animation instead of opacity because I put stuff on the overlay which I want to be opaque.\r\n{code:javascript}\r\nvar view=Ti.UI.createView({top:0,bottom:0,backgroundColor:'white'});\r\n...\r\nvar overlay=Ti.UI.createView({top:0,bottom:0,backgroundColor:'#0000'});\r\nview.add(overlay);\r\noverlay.animate({backgroundColor:'#8000',duration:150});\r\n{code}\r\nWhat happens is that when the animation starts, the overlay view comes up *black* (instead of transparent) and then becomes half transparent.", "attachment": [ { "id": "55280", "filename": "After animate.png", "author": { "name": "hmrida", "key": "hmrida", "displayName": "Harish Mridha", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2015-05-07T09:47:57.000+0000", "size": 48964, "mimeType": "image/png" }, { "id": "55279", "filename": "After animate2.png", "author": { "name": "hmrida", "key": "hmrida", "displayName": "Harish Mridha", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2015-05-07T09:47:57.000+0000", "size": 48551, "mimeType": "image/png" }, { "id": "55278", "filename": "Before animate.png", "author": { "name": "hmrida", "key": "hmrida", "displayName": "Harish Mridha", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2015-05-07T09:47:57.000+0000", "size": 48889, "mimeType": "image/png" } ], "flagged": false, "summary": "backgroundColor animation starting from transparent doesn't work (android)", "creator": { "name": "buddyguards", "key": "buddyguards", "displayName": "grebulon", "active": true, "timeZone": "Asia/Jerusalem" }, "subtasks": [], "reporter": { "name": "buddyguards", "key": "buddyguards", "displayName": "grebulon", "active": true, "timeZone": "Asia/Jerusalem" }, "environment": "Titanium 3.5.0\r\nAndroid", "comment": { "comments": [], "maxResults": 3, "total": 3, "startAt": 0 } } }