{ "id": "62731", "key": "TIMOB-2099", "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" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-06-11T16:06:59.000+0000", "created": "2011-04-15T03:10:25.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "parity", "qe-testadded", "training" ], "versions": [ { "id": "11225", "name": "Release 1.5.0", "archived": true, "released": true, "releaseDate": "2010-12-14" } ], "issuelinks": [ { "id": "15243", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "61316", "key": "TIMOB-684", "fields": { "summary": "Android: Border properties are broken for ImageView", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "22532", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "104398", "key": "TIMOB-11667", "fields": { "summary": "iOS: Label - The view is out of the border.", "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 } } } }, { "id": "17727", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "92984", "key": "TIMOB-9459", "fields": { "summary": "Android: TextArea: The text of the label comes over the border of the label.", "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": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-11-05T19:54: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": "{html}

Adding \"border:1, borderColor:'black'\" to a label works fine on\r\n1.4.1 under iOS, but not on 1.4.2 under Android. Under android, the\r\nentire label is blacked out, instead of a border being placed\r\naround the label.

{html}", "attachment": [], "flagged": false, "summary": "Android: border properties broken for Label", "creator": { "name": "robby", "key": "robby", "displayName": "Robby", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "robby", "key": "robby", "displayName": "Robby", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "127490", "author": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "body": "{html}

We have a pro client interested in this now.

\n

Problem

\n

On Android using borderColor on a view results in the view being\ncompletely filled with the borderColor.

\n

Tested On

\n

All tests were done with Titanium Mobile SDK 1.5.1
\nOn iOS this code produces a 200x300 box with rounded corners and a\nblue border.
\nOn Android this code produces a solid 200x300 blue box with rounded\ncorners.

\n

Sample Code

\n
\nvar borderWindow = Ti.UI.createWindow({\n     height: 200,\n     width: 300,\n     top: 20\n});\n \nvar borderView = Ti.UI.createView({\n     height: 200,\n     width: 300,\n     top: 0,\n     borderRadius: 10,\n     borderWidth: 2,\n     borderColor: 'blue',\n     textAlign: 'center',\n     /*backgroundColor: 'white',*/ /* Adding \"backgroundColor: 'white'\" to the borderView, produces the same box but with a lighter blue due to the \"opacity: '.6'\" property. */\n     opacity: '.6'\n});\n \nborderWindow.add(borderView);\nborderWindow.open();\n
\n

Associated Helpdesk Ticket

\n

http://developer.appcelerator.com/helpdesk/view/65641

{html}", "updateAuthor": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "created": "2011-04-15T03:10:26.000+0000", "updated": "2011-04-15T03:10:26.000+0000" }, { "id": "162961", "author": { "name": "matthewcongrove", "key": "matthewcongrove", "displayName": "Matthew Congrove", "active": true, "timeZone": "America/Chicago" }, "body": "+! from another Pro. HD: 777694", "updateAuthor": { "name": "matthewcongrove", "key": "matthewcongrove", "displayName": "Matthew Congrove", "active": true, "timeZone": "America/Chicago" }, "created": "2011-08-16T10:18:23.000+0000", "updated": "2011-08-16T10:18:23.000+0000" }, { "id": "198088", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This appears to be resolved now.", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-11T16:06:59.000+0000", "updated": "2012-06-11T16:06:59.000+0000" }, { "id": "198773", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as Fixed.\r\n\r\nSDK: 2.1.0.v20120614172251\r\nStudio: 2.1.0.201206141932\r\nOS: Snow Leopard\r\nAndroid Runtime: V8\r\nDevices Tested: Android Emulator 2.2/2.3.3, GSlate 3.1", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-15T14:55:19.000+0000", "updated": "2012-06-15T14:55:19.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }