{ "id": "97621", "key": "TIMOB-10034", "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": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "15274", "description": "2013 Sprint 06 API", "name": "2013 Sprint 06 API", "archived": true, "released": true, "releaseDate": "2013-03-25" }, { "id": "14816", "description": "2013 Sprint 06", "name": "2013 Sprint 06", "archived": true, "released": true, "releaseDate": "2013-03-25" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-03-19T04:14:49.000+0000", "created": "2012-07-19T06:34:59.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "SupportTeam", "api" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [ { "id": "22440", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "92554", "key": "TIMOB-9447", "fields": { "summary": "Android: TableView hasChild icon with Galaxy nexus (all xhdpi devices?)", "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 } } } } ], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-12-17T21:03:34.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": "h2. Problem description\r\nWith particular devices (e.g. on Samsung Galaxy S3), when the hasCheck property is set for a TableViewRow element, the checkbox shown is very small.\r\n\r\nh2. Steps to reproduce\r\n- create an app with the code below\r\n- run it on a Samsung Galaxy S3 device or a Samsung Galaxy Tab\r\n\r\n{code}\r\nvar win = Titanium.UI.createWindow({ \r\n backgroundColor:'#fff',\r\n fullscreen: true\r\n});\r\n\r\nvar rows = [];\r\n\r\nfor(var i=0; i<10; i++) {\r\n\trows.push(Ti.UI.createTableViewRow({\r\n\t\ttitle: 'Test ' + i,\r\n\t\thasCheck: true,\r\n\t\tfont: {\r\n\t\t\tfontSize: '48dp'\r\n\t\t}\r\n\t}));\r\n}\r\n\r\nvar table = Ti.UI.createTableView({\r\n\tdata: rows\r\n});\r\n\r\nwin.add(table);\r\n\r\nwin.open();\r\n{code}\r\n\r\nh2. Customer ticket\r\nhttp://support.appcelerator.com/tickets/APP-268717\r\n", "attachment": [ { "id": "29874", "filename": "device-2012-07-18-125315.png", "author": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-07-19T06:34:59.000+0000", "size": 95168, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: TableViewRow elements with hasCheck=true gets a very small checkbox with certain display screens", "creator": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Android 4.0.4\r\nSamsung Galaxy S3 device\r\nSDK 2.1.0", "comment": { "comments": [ { "id": "208450", "author": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "body": "I see the same issue using the Android Emulator 4.1", "updateAuthor": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-07-19T07:06:33.000+0000", "updated": "2012-07-19T07:06:33.000+0000" }, { "id": "236629", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening, issue still remains. The icon is still small and not scaled by density pixels.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-30T19:14:01.000+0000", "updated": "2013-01-30T19:14:01.000+0000" }, { "id": "242845", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "The indicator resource is a 64x64 image which when loaded on the xhdpi device occupies 32x32 pixels which is about right for a label with default font. It does not resize with the size of the row because essentially it is just an indicator (same as iOS).\n\nIn the example above a label with font size 48dp will occupy atleast 96 pixels on xhdpi so the checkmark will be about 1/3 the height of the row and that works as expected.\n\nIf the checkmark functionality does not suit your layout please feel free to create density specific resources and set them to the rightImage property of the tableview row.", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-03-19T04:14:40.000+0000", "updated": "2013-03-19T04:14:40.000+0000" }, { "id": "243660", "author": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "\r\nClosing as According to Vishal, Image does not resize with the size of the row because essentially it is just an indicator (same as iOS).", "updateAuthor": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-22T10:10:04.000+0000", "updated": "2013-03-22T10:10:04.000+0000" }, { "id": "247902", "author": { "name": "dhir.pratap", "key": "dhir.pratap", "displayName": "Dhirendra Pratap", "active": true, "timeZone": "Indian/Kerguelen" }, "body": "I too had problem with this issue. Eventually we settled with rightimage property. Right image property is suited for rows which are not bound to change. It makes sense to scale the size of the checkmark according to the row height rather than the font because its unlikely for most to use 48dp/sp of font. The standard font sizes are 12,14,18,22 sp.\r\nFor the sake of simplicity in programming the issue must be fixed. \r\n\r\nP.S I landed on this page when i was going through the closed issues in Ti SDK 3.1 but very dissapointed to see this resolution", "updateAuthor": { "name": "dhir.pratap", "key": "dhir.pratap", "displayName": "Dhirendra Pratap", "active": true, "timeZone": "Indian/Kerguelen" }, "created": "2013-04-17T08:33:34.000+0000", "updated": "2013-04-17T08:33:34.000+0000" }, { "id": "284852", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Still having problems in the latest SDK 3.2.0 RC: On Android-displays starting at xlarge (xxlarge, xxxlarge as aweel), the check-icon is displayed in a very small size. Tested on the Nexus 5 and Android 4.4.\r\n\r\nExample: https://dl.dropboxusercontent.com/s/xh05cd7e69zxqp9/preview.jpg\r\n\r\nIt's necessary to respect the high density specific resources while compiling. I hope it is reproducible.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-12-17T21:03:34.000+0000", "updated": "2013-12-17T21:03:34.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }