{ "id": "89859", "key": "TIMOB-8688", "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": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13407", "description": "Sprint 2012-11 API", "name": "Sprint 2012-11 API", "archived": true, "released": true, "releaseDate": "2012-06-03" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-05-25T12:28:55.000+0000", "created": "2012-04-11T15:16:51.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "api", "qe-testadded" ], "versions": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "issuelinks": [ { "id": "17384", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "91225", "key": "TIMOB-8956", "fields": { "summary": "Android: When a view backgroundColor is set to transparent, setting the border width and color fills in the whole view with the border color.", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-07-12T13:47:52.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": "When setting a border on a view inside a tableview row, the view is filled by the border color same as if you set backgroundColor on the view.\r\n\r\nTest case:\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor:'#000',\r\n});\r\n\r\nvar table = Ti.UI.createTableView({\r\n\t\tbackgroundColor:'transparent',\r\n\t\tseparatorColor:'transparent',\r\n});\r\n\r\nvar varHeightRow = Ti.UI.createTableViewRow({\r\n\tbackgroundColor:'#FFF',\r\n\t//height:Ti.UI.SIZE,\r\n\tlayout:'vertical',\r\n\tselectionStyle:Titanium.UI.iPhone.TableViewCellSelectionStyle.NONE\r\n});\r\n\r\nvar rowContent = Ti.UI.createView({\r\n\theight:20,\r\n\tleft:5,\r\n\tright:5,\r\n\ttop:10,\r\n\tbottom:10,\r\n\tborderColor:'#C00',\r\n\tborderWidth:1,\r\n});\r\n\r\nvar contentContent = Ti.UI.createLabel({\r\n\tbackgroundColor: 'white',\r\n\ttext:'This is a test'\r\n});\r\n\r\nrowContent.add(contentContent);\r\n\r\nvarHeightRow.add(rowContent);\r\n\r\ntable.appendRow(varHeightRow);\r\nwin.add(table);\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: Setting a border on a View inside a TableViewRow fills the entire View", "creator": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "environment": "2.2, 2.3.1, 3.2 and 4.0", "comment": { "comments": [ { "id": "190634", "author": { "name": "iotashan", "key": "iotashan", "displayName": "Shannon Hicks", "active": true, "timeZone": "America/Chicago" }, "body": "Setting backgroundColor:'transparent' on the view does not provide a workaround, either.", "updateAuthor": { "name": "iotashan", "key": "iotashan", "displayName": "Shannon Hicks", "active": true, "timeZone": "America/Chicago" }, "created": "2012-04-11T15:27:34.000+0000", "updated": "2012-04-11T15:27:34.000+0000" }, { "id": "195656", "author": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This appears to be the same issue as TIMOB-8956.\r\n\r\n", "updateAuthor": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-22T15:31:21.000+0000", "updated": "2012-05-22T15:31:21.000+0000" }, { "id": "196133", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile/pull/2244", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-05-25T12:28:55.000+0000", "updated": "2012-05-25T12:28:55.000+0000" }, { "id": "198514", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with 2.1.0.v20120614102250 on Droid 3 2.3.4", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-14T11:23:10.000+0000", "updated": "2012-06-14T11:23:10.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }