{ "id": "98142", "key": "TIMOB-10175", "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": "13872", "description": "", "name": "Sprint 2012-16 Core", "archived": true, "released": true, "releaseDate": "2012-08-13" }, { "id": "14096", "description": "Release 2.1.2", "name": "Release 2.1.2", "archived": true, "released": true, "releaseDate": "2012-08-31" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-08-14T14:52:00.000+0000", "created": "2012-07-26T16:27:50.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "core", "layout", "module_views", "qe-review", "qe-testadded" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-08-15T10:51:09.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": "In a vertical layout bottom is not used as padding. In the test case below the views are flush against each other although viw1 has bottom set to 5\r\nTest Code\r\n{code}\r\n\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor:'white',\r\n\tlayout:'vertical'\r\n})\r\nvar view1 = Ti.UI.createView({\r\n\twidth:100,\r\n\theight:100,\r\n\tleft:5,\r\n\tbottom:5,\r\n\tbackgroundColor:'red'\r\n})\r\nvar view2 = Ti.UI.createView({\r\n\twidth:100,\r\n\theight:100,\r\n\tleft:5,\r\n\tbottom:5,\r\n\tbackgroundColor:'green'\r\n})\r\n\r\nwin.add(view1);\r\nwin.add(view2);\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: Vertical Layout does not respect the bottom when padding views", "creator": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "213216", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Fixed by PR https://github.com/appcelerator/titanium_mobile/pull/2685", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-08-07T14:17:21.000+0000", "updated": "2012-08-07T14:17:21.000+0000" }, { "id": "214040", "author": { "name": "etcarev", "key": "etcarev", "displayName": "Evgenii Tcarev", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed with:\r\nTitanium Studio, build: 2.1.1.201207271312\r\nSDK version: 2.2.0.v20120810194112\r\nDevice:\r\nLG VS910 4G (2.3.6)", "updateAuthor": { "name": "etcarev", "key": "etcarev", "displayName": "Evgenii Tcarev", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-13T10:12:38.000+0000", "updated": "2012-08-13T10:12:38.000+0000" }, { "id": "214275", "author": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Re-opening to edit label", "updateAuthor": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-14T02:57:55.000+0000", "updated": "2012-08-14T02:57:55.000+0000" }, { "id": "214446", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopen to update fix version", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-14T14:51:25.000+0000", "updated": "2012-08-14T14:51:25.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }