{ "id": "160042", "key": "TIMOB-23361", "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": null, "resolutiondate": null, "created": "2016-05-05T04:02:01.000+0000", "priority": null, "labels": [], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-02-28T19:54:56.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [], "description": "On a Nexus 5 (Android 6) when I use a TableViewRow with `hasCheck=\"true\"` or a ListItem with the accessoryType \"Ti.UI.LIST_ACCESSORY_TYPE_CHECKMARK\" the tick icon is not sharp and is touching the edge of the screen.\r\n\r\nCan we fix this or have a way to override the drawable tick icon with our own assets.\r\n\r\nThis tick icon has been an ongoing issue with Titanium for the last 3 or 4 years at least and breaks everytime a higher density screen comes along so this might be a way to fix it for good this time.", "attachment": [], "flagged": false, "summary": "Android: TableViewRow hasCheck icon styling issues", "creator": { "name": "bearus", "key": "bearus", "displayName": "Be Rushton", "active": true, "timeZone": "Australia/Brisbane" }, "subtasks": [], "reporter": { "name": "bearus", "key": "bearus", "displayName": "Be Rushton", "active": true, "timeZone": "Australia/Brisbane" }, "environment": null, "comment": { "comments": [ { "id": "384812", "author": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\nThanks for reporting. It will be appreciated if you share simple test code that reproduces this issue. We will confirm the issue as bug when we are able to reproduce it.\r\n\r\nThanks in advance", "updateAuthor": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2016-05-05T05:20:14.000+0000", "updated": "2016-05-05T05:20:14.000+0000" }, { "id": "384977", "author": { "name": "bearus", "key": "bearus", "displayName": "Be Rushton", "active": true, "timeZone": "Australia/Brisbane" }, "body": "sample code is pretty straight forward:\r\n\r\n \r\n\r\n\r\nExpected result: android checkmark displayed unpixelated and with padding from edge of row.\r\nActual result: The checkmark is blurry and touching the right side of the screen.", "updateAuthor": { "name": "bearus", "key": "bearus", "displayName": "Be Rushton", "active": true, "timeZone": "Australia/Brisbane" }, "created": "2016-05-06T10:03:10.000+0000", "updated": "2016-05-06T10:03:29.000+0000" }, { "id": "385057", "author": { "name": "bearus", "key": "bearus", "displayName": "Be Rushton", "active": true, "timeZone": "Australia/Brisbane" }, "body": "Google link for list design specs: https://www.google.com/design/spec/components/lists.html#lists-specs", "updateAuthor": { "name": "bearus", "key": "bearus", "displayName": "Be Rushton", "active": true, "timeZone": "Australia/Brisbane" }, "created": "2016-05-07T04:26:24.000+0000", "updated": "2016-05-07T04:26:24.000+0000" }, { "id": "385074", "author": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\n I have tested this issue with Nexus7 , Nexus 5 and HtcOne android device. The issue seems to be reproducible. The check mark has right padding and much too small to notice. I am attaching screenshots here.\r\n\r\n[Nexus 5|https://i.imgsafe.org/53f3703.png]\r\n\r\n[Nexux 7|https://i.imgsafe.org/9641bfe.png]\r\n\r\n[HtcOne|https://i.imgsafe.org/c3e4a1c.png]\r\n\r\n*Code:*\r\n{code}\r\nvar tableData = [];\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor : 'white'\r\n});\r\n\r\nvar table = Ti.UI.createTableView({\r\n\tobjName : 'table'\r\n});\r\n\r\nvar row = Titanium.UI.createTableViewRow({\r\n\thasCheck: true\r\n});\r\nvar view = Titanium.UI.createView({\r\n\tbackgroundColor : 'red',\r\n\twidth : 200,\r\n\theight : 200\r\n});\r\nrow.add(view);\r\ntableData.push(row);\r\ntable.setData(tableData);\r\nwin.add(table);\r\nwin.open(); \r\n{code}\r\n\r\n*Environment*:\r\n\r\n*Device info:* Nexus7, Nexux5 (android 6.0.1) , Htc One (Android 4.4.3)\r\n*Node.js Version:* 0.12.7\r\n*npm Version:* 2.11.3\r\n*Titanium SDKs:* 5.2.2.GA and 5.2.1.GA\r\n*Java Development Kit Version:* 1.8.0_73\r\n*Titanium CLI Version:* 5.0.5\r\n*Appcelerator CLI Version:* 5.2.2\r\n*Appcelerator Studio:* 4.5.0\r\n\r\n", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-05-08T08:35:40.000+0000", "updated": "2016-05-11T17:44:58.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }