{ "id": "82608", "key": "TIMOB-6146", "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": { "id": "10100", "description": "This issue won't be actioned.", "name": "Won't Do" }, "resolutiondate": "2020-01-09T19:28:13.000+0000", "created": "2011-11-10T15:43:48.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "View", "backgroundColor", "borderColor", "tbs-1.9.0" ], "versions": [ { "id": "11971", "description": "iOS5 and select Android fixes", "name": "Release 1.7.3", "archived": true, "released": true, "releaseDate": "2011-10-18" } ], "issuelinks": [], "assignee": null, "updated": "2020-01-09T19:28:13.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": "Setting borderColor will also set backgroundColor. Example source:\r\n\r\n{code}\r\nvar win = Titanium.UI.createWindow({ backgroundColor:'#f0f0f0' });\r\n\r\nvar parent = Ti.UI.createView({ width:150, height:150, top:0, left:0, borderColor:'red', borderWidth:3 });\r\n\r\nvar greenView = Ti.UI.createScrollView({ width:100, height:100, top:0, left:0, borderColor:'green', borderWidth:1 });\r\n\r\nvar child = Ti.UI.createView({ width:10, height:10, top:15, left:15, borderColor:'black', borderWidth:3 });\r\n\r\nvar button1 = Ti.UI.createButton({ title:'remove from scrollview', top:150, left:0, width:200, height:40 });\r\nvar button2 = Ti.UI.createButton({ title:'remove from view', top:200, left:0, width:200, height:40 });\r\n\r\nbutton1.addEventListener('click', function() { greenView.remove(child); });\r\nbutton2.addEventListener('click', function() { parent.remove(greenView); });\r\nwin.add(parent);\r\nparent.add(greenView);\r\ngreenView.add(child);\r\nwin.add(button1);\r\nwin.add(button2);\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: View: BorderColor property will also cause the backgroundColor to be filled in or a 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": null, "comment": { "comments": [ { "id": "241929", "author": { "name": "kronholm", "key": "kronholm", "displayName": "Bitfabrikken - Dan Wulff Kronholm", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Can confirm this bug is still existing even in Titanium 3.0.2.", "updateAuthor": { "name": "kronholm", "key": "kronholm", "displayName": "Bitfabrikken - Dan Wulff Kronholm", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-13T08:46:53.000+0000", "updated": "2013-03-13T08:46:53.000+0000" }, { "id": "289547", "author": { "name": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "body": "The issue cannot reproduce with the release master 3.2.0\nTested with: \nTitanium Studio, build: 2.1.2.201208301612\nTitanium SDK version: 3.2.0\nTested on\nDevice: Samsung galaxy s duos Android version: 4.0.4", "updateAuthor": { "name": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-01-24T05:10:20.000+0000", "updated": "2014-01-24T05:10:20.000+0000" }, { "id": "453570", "author": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "It has been decided that this issue should be closed as “Won’t do.” This issue is out of date with our current supported SDK release (7.5.2.GA as of the date of closure), and out of date with mobile OS versions. Updating, or creating code may not reproduce the issue reported, or be a valid test case.\r\n\r\nIf community members feel that the issue is still valid, please create a new ticket. Please reference this closed ticket number, include SDK used, comments, and code that demonstrates/reproduces the issue.", "updateAuthor": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-01-09T19:28:13.000+0000", "updated": "2020-01-09T19:28:13.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }