{ "id": "153483", "key": "TIMOB-20076", "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": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-05-27T04:11:23.000+0000", "created": "2015-11-30T08:02:34.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-06-24T23:19:06.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" } ], "description": "Android Elevation disappear when set border*\r\n\r\nsee result screen shot and code below:\r\n\r\n\r\nTest code\r\n{code:javascript}\r\n\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor : 'white',\r\n layout : 'vertical'\r\n});\r\n\r\nvar viewWithElevation = Ti.UI.createView({\r\n left : 10,\r\n right : 10,\r\n top : 30,\r\n height : 100,\r\n elevation : 10,\r\n backgroundColor : 'yellow'\r\n});\r\n\r\nvar viewWithElevationAndBorderRadius = Ti.UI.createView({\r\n left : 10,\r\n right : 10,\r\n top : 30,\r\n height : 100,\r\n elevation : 20,\r\n backgroundColor : 'yellow',\r\n borderRadius : 20\r\n});\r\n\r\nvar viewWithElevationAndBorderWidth = Ti.UI.createView({\r\n left : 10,\r\n right : 10,\r\n top : 30,\r\n height : 100,\r\n elevation : 20,\r\n backgroundColor : 'yellow',\r\n borderWidth : 2\r\n});\r\n\r\nwin.add(viewWithElevation);\r\nwin.add(viewWithElevationAndBorderRadius);\r\nwin.add(viewWithElevationAndBorderWidth);\r\n\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "Android Elevation disappear when set border*", "creator": { "name": "yomybaby", "key": "yomybaby", "displayName": "Jong Eun Lee", "active": true, "timeZone": "Asia/Tokyo" }, "subtasks": [], "reporter": { "name": "yomybaby", "key": "yomybaby", "displayName": "Jong Eun Lee", "active": true, "timeZone": "Asia/Tokyo" }, "environment": "SDK 5.1.1.GA\r\nAndroid 6.x\r\n\r\n", "closedSprints": [ { "id": 631, "state": "closed", "name": "2016 Sprint 11 SDK", "startDate": "2016-05-21T00:06:10.029Z", "endDate": "2016-06-04T00:06:00.000Z", "completeDate": "2016-06-06T07:30:39.854Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "371642", "author": { "name": "yomybaby", "key": "yomybaby", "displayName": "Jong Eun Lee", "active": true, "timeZone": "Asia/Tokyo" }, "body": "Check this out.\r\n!https://s3.amazonaws.com/f.cl.ly/items/3v2T2c2Q0U3v0N1I1Z2G/5554_nexus5-6-23.png?v=5c0a4143!", "updateAuthor": { "name": "yomybaby", "key": "yomybaby", "displayName": "Jong Eun Lee", "active": true, "timeZone": "Asia/Tokyo" }, "created": "2015-11-30T08:07:08.000+0000", "updated": "2015-11-30T08:07:08.000+0000" }, { "id": "386407", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "Working on a solution for this problem at the moment:\r\n\r\n!http://migaweb.de/roundedelevation.png!\r\n\r\ncombination of getOutlerView() inside TiUIView and setting a setOutlineProvider in TiBorderWrapperView. Looking good so far but I'm still testing some use cases", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-05-22T14:11:13.000+0000", "updated": "2016-05-22T14:11:13.000+0000" }, { "id": "386409", "author": { "name": "yomybaby", "key": "yomybaby", "displayName": "Jong Eun Lee", "active": true, "timeZone": "Asia/Tokyo" }, "body": "Great!", "updateAuthor": { "name": "yomybaby", "key": "yomybaby", "displayName": "Jong Eun Lee", "active": true, "timeZone": "Asia/Tokyo" }, "created": "2016-05-22T14:19:43.000+0000", "updated": "2016-05-22T14:19:43.000+0000" }, { "id": "386410", "author": { "name": "wilsonliaw", "key": "wilsonliaw", "displayName": "Wilson Liaw", "active": true, "timeZone": "Asia/Shanghai" }, "body": "Thanks! looking forward to it :)", "updateAuthor": { "name": "wilsonliaw", "key": "wilsonliaw", "displayName": "Wilson Liaw", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2016-05-22T14:21:58.000+0000", "updated": "2016-05-22T14:21:58.000+0000" }, { "id": "386411", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/8011\r\n", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-05-22T14:57:09.000+0000", "updated": "2016-05-22T14:57:09.000+0000" }, { "id": "386657", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I've tested your PR and it works fine on API 21+. Please address my comment on the PR. Thanks!", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-05-24T18:23:12.000+0000", "updated": "2016-05-24T18:23:12.000+0000" }, { "id": "389064", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix.\r\n\r\nElevation does not disappear when border radius or border width is set.\r\n\r\nClosing.\r\n\r\nEnvironment:\r\nAppc Studio : 4.7.0.201606150733\r\nTi SDK : 5.4.0.v20160617074028\r\nTi CLI : 5.0.9\r\nAlloy : 1.9.0\r\nMAC El Capitan : 10.11.4\r\nAppc NPM : 4.2.7-2\r\nAppc CLI : 5.4.0-18\r\nNode: 4.4.4\r\nNexus 6 - Android 6.0.1", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-06-24T23:18:58.000+0000", "updated": "2016-06-24T23:18:58.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }