{ "id": "87928", "key": "TIMOB-7993", "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": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "13170", "name": "Sprint 2012-06", "archived": true, "released": true, "releaseDate": "2012-03-25" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-04-04T14:37:03.000+0000", "created": "2012-03-14T10:36:40.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_view", "qe-testadded" ], "versions": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "issuelinks": [ { "id": "16304", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "88036", "key": "TIMOB-8045", "fields": { "summary": "IOS: SIZE views do not work well with left,right,top,bottom pins set", "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": "55819", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "169561", "key": "TIMOB-25173", "fields": { "summary": "Android: Size/Fill layout conflicts are not handled the same as iOS and Windows", "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 } } } } ], "assignee": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-08-15T23:15:42.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 there is a parent with SIZE and a child with FILL, android will follow the size behavior for both the parent and child. We should follow the iOS behavior and let the child look for the parent's parent for width/height constraints.\r\n\r\nRun the following code:\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({backgroundColor:'white'});\r\n\r\nvar parent = Ti.UI.createView({\r\n\theight: Ti.UI.SIZE,\r\n\tbackgroundColor: 'green'\r\n});\r\n\r\nvar child = Ti.UI.createView({\r\n\tbackgroundColor: 'blue'\r\n});\r\n\r\nparent.add(child);\r\nwin.add(parent);\r\n\r\nwin.open();\r\n{code}\r\n\r\nExpected result:\r\nThe blue view should cover the screen. (The child fills to the window, and the parent's size behavior will constrain to the child, which is the whole view)\r\n\r\nActual result:\r\nThe app shows a white view.\r\n", "attachment": [], "flagged": false, "summary": "Android: Parity: Child view with fill behavior should recursively look at parents for width/height constraint when direct parent has size behavior", "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": "186948", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR 1699", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-03-17T12:14:54.000+0000", "updated": "2012-03-17T12:14:54.000+0000" }, { "id": "187257", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing bug. Verified fix on:\r\n\r\nSDK build: 2.0.0.v20120319003254\r\nRuntime: v8, rhino\r\nTitanium Studio, build: 2.0.0.201203182248\r\nDevice: Droid 1 (2.2.3)", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-03-19T16:18:33.000+0000", "updated": "2012-03-19T16:18:33.000+0000" }, { "id": "189877", "author": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening/closing to add/remove labels", "updateAuthor": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-04T14:35:07.000+0000", "updated": "2012-04-04T14:35:07.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }