{ "id": "110951", "key": "TIMOB-13022", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2013-03-11T17:07:23.000+0000", "created": "2013-03-11T16:29:57.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "supportTeam" ], "versions": [ { "id": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-20T21:53:23.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": "h4. Description\r\n\r\nWhen a parent view does not have a fixed height, i.e. defined using Ti.UI.SIZE, its child view height when set to a percentage is relative to the window size rather than the view size. This does not happen if we define a height for the parent view.\r\n\r\nh4. Code to reproduce\r\n\r\nhttps://gist.github.com/davidecassenti/146958c11f53e5fd874f\r\n\r\nh4. Use Case\r\n\r\nWe have a container view, tileHolder with horizontal layout. Inside tileHolder are two views, leftTile and rightTile. leftTile height is Ti.UI.SIZE (it has to be dynamic), and we want to set the rightTile to the same height. Both left and right have 50% width.", "attachment": [], "flagged": false, "summary": "Android: View percentage height not related to parent when parent height is Ti.UI.SIZE", "creator": { "name": "btran", "key": "btran", "displayName": "Betty Tran", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "btran", "key": "btran", "displayName": "Betty Tran", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Ti SDK 3.0.2\r\nAndroid 4.0", "comment": { "comments": [ { "id": "241593", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Documented as undefined behavior\r\nhttp://docs.appcelerator.com/titanium/latest/#!/guide/UI_Composite_Layout_Behavior_Spec-section-4196675_UICompositeLayoutBehaviorSpec-UNDEFINEDbehavior", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-03-11T17:07:23.000+0000", "updated": "2013-03-11T17:07:23.000+0000" }, { "id": "414014", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-20T21:53:23.000+0000", "updated": "2017-03-20T21:53:23.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }