{ "id": "113691", "key": "TIMOB-13742", "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": "15419", "description": "2013 Sprint 09 Core", "name": "2013 Sprint 09 Core", "archived": true, "released": true, "releaseDate": "2013-05-06" }, { "id": "15107", "description": "2013 Sprint 09", "name": "2013 Sprint 09", "archived": true, "released": true, "releaseDate": "2013-05-06" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2013-05-03T17:03:19.000+0000", "created": "2013-05-01T23:30:11.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "regression" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [], "assignee": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-03T22:10:25.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": "This is a regression caused by the fix for TIMOB-12658.\r\n\r\nSteps to reproduce:\r\n1. Run the following code:\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: 'white',\r\n\tlayout: 'vertical'\r\n});\r\n\r\nvar table = Ti.UI.createTableView({\r\n top: 10,\r\n bottom: 0,\r\n left: \"4dp\",\r\n right: \"4dp\",\r\n backgroundColor: \"blue\",\r\n font: {\r\n fontSize: \"20dp\",\r\n fontFamily: \"DroidSans\"\r\n }\r\n});\r\nvar row = Ti.UI.createTableViewRow({\r\n height: Ti.UI.SIZE,\r\n layout: \"vertical\",\r\n backgroundColor: \"red\"\r\n});\r\ncreateRows(row);\r\ntable.setData([ row ]);\r\nwin.add(table);\r\n \r\nfunction createRows(row) {\r\n\tvar v1 = Ti.UI.createView({\r\n\t layout: \"horizontal\"\r\n\t //, height: Ti.UI.SIZE\r\n\t});\r\n\tvar l1 = Ti.UI.createLabel({\r\n\t width: Ti.UI.SIZE,\r\n\t height: Ti.UI.SIZE,\r\n\t backgroundColor: 'yellow',\r\n\t color: 'black',\r\n\t text: \"This is view 1\",\r\n\t font: {\r\n\t fontSize: \"20dp\",\r\n\t fontFamily: \"DroidSans\"\r\n\t } \r\n\t});\r\n\tv1.add(l1);\r\n\t\r\n\tvar v2 = Ti.UI.createView({\r\n\t layout: \"horizontal\"\r\n\t //, height: Ti.UI.SIZE\r\n\t});\r\n\tvar l2 = Ti.UI.createLabel({\r\n\t width: Ti.UI.SIZE,\r\n\t height: Ti.UI.SIZE,\r\n\t backgroundColor: 'green',\r\n\t color: 'black',\r\n\t //top: 0,\r\n\t text: \"This is view 2\",\r\n\t font: {\r\n\t fontSize: \"20dp\",\r\n\t fontFamily: \"DroidSans\"\r\n\t }\r\n\t});\r\n\tv2.add(l2);\r\n\trow.add(v1);\r\n\trow.add(v2);\r\n}\r\nwin.open();\r\n{code}\r\n\r\nExpected result:\r\nYou should see a row with two labels\r\n\r\nActual Result:\r\nThe second child of the row is invisible.", "attachment": [], "flagged": false, "summary": "Android: TableViewRows children are not visible with vertical layout", "creator": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "250085", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Marking as invalid. The fix in the other timob ticket actually brought the behavior to be in parity with iOS and mobile web.", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-03T17:03:19.000+0000", "updated": "2013-05-03T17:03:19.000+0000" }, { "id": "408959", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-03T22:10:25.000+0000", "updated": "2017-03-03T22:10:25.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }