{ "id": "146808", "key": "TIMOB-18821", "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": [ { "id": "17706", "name": "Release 5.4.0", "archived": false, "released": true, "releaseDate": "2016-08-11" } ], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2016-04-22T05:23:24.000+0000", "created": "2015-04-10T15:53:13.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "parity" ], "versions": [], "issuelinks": [], "assignee": { "name": "ssombhatla", "key": "ssombhatla", "displayName": "Srikanth Sombhatla", "active": false, "timeZone": "Asia/Singapore" }, "updated": "2016-04-22T05:23:24.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": "10202", "name": "Android", "description": "Android Platform" }, { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Currently RGBA is supported on iOS, although it does give a warning. (Hex color passed looks invalid: rgba(30,30,30,0.5)).\r\n\r\nHowever, currently on Android it doesn't work. However, Android itself actually does support RGBA, but the other way around (ARGB). So support for it could be build properly so it works cross platform: http://developer.android.com/guide/topics/resources/more-resources.html#Color", "attachment": [], "flagged": false, "summary": "Parity: RGBA warns on iOS and is not supported on Android", "creator": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Android", "comment": { "comments": [ { "id": "383417", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/7955", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-04-20T21:09:20.000+0000", "updated": "2016-04-20T21:09:20.000+0000" }, { "id": "383436", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Thanks for the PR [~michael]. [~ssombhatla] can you review? and make sure the older ARGB is deprecated not removed?", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-04-20T23:26:08.000+0000", "updated": "2016-04-20T23:26:08.000+0000" }, { "id": "383463", "author": { "name": "ssombhatla", "key": "ssombhatla", "displayName": "Srikanth Sombhatla", "active": false, "timeZone": "Asia/Singapore" }, "body": "[~michael] Do you have a sample app.js I can refer to verify functionality? That will be helpful. ", "updateAuthor": { "name": "ssombhatla", "key": "ssombhatla", "displayName": "Srikanth Sombhatla", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-04-21T04:16:05.000+0000", "updated": "2016-04-21T04:16:05.000+0000" }, { "id": "383472", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "{code}\r\nvar win = $.UI.create(\"Window\", {\r\n backgroundColor: \"#000\"\r\n});\r\n\r\nvar view_all = $.UI.create(\"View\", {\r\n layout: \"horizontal\"\r\n});\r\n\r\nvar view_bg = $.UI.create(\"View\", {\r\n height: 2,\r\n left: 0,\r\n right: 0,\r\n top: 20,\r\n backgroundColor: \"white\"\r\n});\r\n\r\nvar view1 = $.UI.create(\"View\", {\r\n backgroundColor: \"#f00\",\r\n width: 50,\r\n height: 50\r\n});\r\n\r\nvar view1 = $.UI.create(\"View\", {\r\n backgroundColor: \"rgb(0, 255, 0)\",\r\n width: 50,\r\n height: 50\r\n});\r\n\r\nvar view2 = $.UI.create(\"View\", {\r\n backgroundColor: \"rgba(0, 0 ,255, 128)\",\r\n width: 50,\r\n height: 50\r\n});\r\n\r\nvar view3 = $.UI.create(\"View\", {\r\n backgroundColor: \"rgba(0,0 ,255 , 0.3 )\",\r\n width: 50,\r\n height: 50\r\n});\r\n\r\nvar view4 = $.UI.create(\"View\", {\r\n backgroundColor: \"rgba(0,235,255,128)\",\r\n width: 50,\r\n height: 50\r\n});\r\nvar view5 = $.UI.create(\"View\", {\r\n backgroundColor: \"rgba(0.4,0.4,0.4,0.4)\",\r\n width: 50,\r\n height: 50\r\n});\r\n\r\nwin.add(view_bg);\r\nwin.add(view_all);\r\nview_all.add(view1);\r\nview_all.add(view2);\r\nview_all.add(view3);\r\nview_all.add(view4);\r\nview_all.add(view5);\r\n\r\nwin.open();\r\n{code}\r\n\r\n!http://migaweb.de/rgba.png!", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-04-21T06:37:15.000+0000", "updated": "2016-04-21T06:37:15.000+0000" }, { "id": "383632", "author": { "name": "ssombhatla", "key": "ssombhatla", "displayName": "Srikanth Sombhatla", "active": false, "timeZone": "Asia/Singapore" }, "updateAuthor": { "name": "ssombhatla", "key": "ssombhatla", "displayName": "Srikanth Sombhatla", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-04-22T05:23:16.000+0000", "updated": "2016-04-22T05:23:16.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }