{ "id": "172507", "key": "TIMOB-26493", "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": [], "resolution": null, "resolutiondate": null, "created": "2018-10-28T12:09:16.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "engSchedule", "parity" ], "versions": [ { "id": "20238", "description": "", "name": "Release 7.5.0", "archived": false, "released": true, "releaseDate": "2018-11-15" } ], "issuelinks": [ { "id": "58734", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "175550", "key": "TIMOB-28145", "fields": { "summary": "iOS: Support string values with units for property values", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-09-18T17:13:30.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": "We require some shadow specs in our design that are currently iOS only:\r\n\r\n- viewShadowRadius\r\n- viewShadowColor\r\n- viewShadowOffset\r\n\r\nIt seems like the [Outline API|https://developer.android.com/reference/android/graphics/Outline] is best to do this programmatically, although it requires Android 5 to work.\r\n\r\nIf there is a workaround to use it today, the priority can be lowered, but for now, it's a blocker for us.", "attachment": [], "flagged": false, "summary": "Android: Add viewShadowRadius, viewShadowColor and viewShadowOffset for parity", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "443028", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I agree that we should have parity.\r\n\r\nHowever, if you want a shadow effect now, then this can also be done via the \"elevation\" property, which Titanium already supports. This is how Google implements shadows for buttons. The only problem with it is:\r\n* Only supported on Android 5.0 and up.\r\n* View order is ignored. That is, painter's algorithm (last view is always on top) is no longer respected. Increasing the \"elevation\" actually increases the view's z-axis position.\r\n* Can't customize shadow effect other than increasing the elevation.\r\n", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-10-29T18:19:21.000+0000", "updated": "2018-10-29T18:19:21.000+0000" }, { "id": "450320", "author": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "body": "maybe this can be useful [|https://stackoverflow.com/questions/51001921/changing-cardview-shadow-color]", "updateAuthor": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-08-07T19:28:08.000+0000", "updated": "2019-08-07T19:28:08.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }