{ "id": "152334", "key": "TIMOB-19812", "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": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-06-03T19:31:09.000+0000", "created": "2015-10-26T13:25:01.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "listview", "template" ], "versions": [ { "id": "16904", "description": "Release 5.0.2", "name": "Release 5.0.2", "archived": true, "released": true, "releaseDate": "2015-10-01" }, { "id": "17993", "description": "Release 5.2.2", "name": "Release 5.2.2", "archived": false, "released": true, "releaseDate": "2016-04-05" } ], "issuelinks": [], "assignee": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "updated": "2016-08-22T21:51:17.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": "On the Android platform ListView Items have an arbitrary minimum height of 30dp. There is nothing in the Android SDK preventing a user from creating a List with items that have a smaller height than 30dp. This is restricting flexibility in Titanium.\r\n\r\nThis ticket was created out of a discussion in the Community Q & A.\r\nhttps://community.appcelerator.com/topic/3106/listview-template-properties-s-height-problem\r\n\r\nhttps://github.com/appcelerator/titanium_mobile/commit/4c4c5cbeef8883827e97afc15769fe9c46eecbd8", "attachment": [], "flagged": false, "summary": "Android: Arbitrary ListView template height.", "creator": { "name": "CollinPrice", "key": "collinprice", "displayName": "Collin Price", "active": true, "timeZone": "America/Toronto" }, "subtasks": [], "reporter": { "name": "CollinPrice", "key": "collinprice", "displayName": "Collin Price", "active": true, "timeZone": "America/Toronto" }, "environment": null, "closedSprints": [ { "id": 631, "state": "closed", "name": "2016 Sprint 11 SDK", "startDate": "2016-05-21T00:06:10.029Z", "endDate": "2016-06-04T00:06:00.000Z", "completeDate": "2016-06-06T07:30:39.854Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "367945", "author": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "body": "Hi ,\r\nI have tested this issue . This is a valid bug . ListView template properties's height is not working properly when height smaller than 30dp.\r\n\r\nTest Environment:\r\n\r\n{code}\r\nTue Oct 27 2015 13:08:21 GMT+0600 (BDT)\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.10.5\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 8589934592\r\nNode.js\r\n Node.js Version = 0.10.37\r\n npm Version = 1.4.28\r\nTitanium CLI\r\n CLI Version = 5.0.5\r\nTitanium SDK\r\n SDK Version = 5.0.2.GA\r\n SDK Path = /Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.0.2.GA\r\n Target Platform = android\r\nCommand\r\n{code}\r\n\r\nThanks", "updateAuthor": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "created": "2015-10-27T07:12:52.000+0000", "updated": "2015-10-27T07:12:52.000+0000" }, { "id": "384629", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, This is still an issue in SDK 5.2.2.GA. ListView template's propertie \"height\" is not working when height smaller than 30dp.\r\n\r\n{code}\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.11.4\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 8589934592\r\nNode.js\r\n Node.js Version = 4.2.2\r\n npm Version = 2.14.7\r\nTitanium CLI\r\n CLI Version = 5.0.6\r\nTitanium SDK\r\n SDK Version = 5.2.2.GA\r\n Target Platform = android\r\n Android version 6.0.0\r\n{code}", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-05-03T20:26:15.000+0000", "updated": "2016-05-03T20:26:15.000+0000" }, { "id": "384634", "author": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "[~cng], Any update here?", "updateAuthor": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2016-05-03T21:14:19.000+0000", "updated": "2016-05-03T21:14:19.000+0000" }, { "id": "386950", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master PR: https://github.com/appcelerator/titanium_mobile/pull/8023", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-05-26T20:57:05.000+0000", "updated": "2016-06-01T20:50:29.000+0000" }, { "id": "387015", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Now that this min-height is fixed, will list-cells also have the default height like they do natively? The default 30px always sucked when comparing to the 43px on iOS (also natively).", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-05-27T08:46:25.000+0000", "updated": "2016-05-27T08:46:25.000+0000" }, { "id": "392367", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-08-04T03:35:29.000+0000", "updated": "2016-08-04T03:35:29.000+0000" }, { "id": "393851", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix.\r\n\r\nThe default {{30dp}} height is removed.\r\nClosing.\r\n\r\nEnvironment:\r\nAppc Studio : 4.7.1.201608190732\r\nTi SDK : 6.0.0.v20160822001523\r\nTi CLI : 5.0.9\r\nAlloy : 1.9.1\r\nMAC El Capitan : 10.11.6\r\nAppc NPM : 4.2.7\r\nAppc CLI : 6.0.0-26\r\nNode: 4.4.4\r\nNexus 6 - Android 6.0.1", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-08-22T21:51:05.000+0000", "updated": "2016-08-22T21:51:05.000+0000" } ], "maxResults": 15, "total": 15, "startAt": 0 } } }