{ "id": "170670", "key": "TIMOB-25625", "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": "20115", "name": "Release 7.3.0", "archived": false, "released": true, "releaseDate": "2018-08-17" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-05-09T21:29:47.000+0000", "created": "2017-12-23T02:47:07.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "ScrollableView", "android" ], "versions": [ { "id": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" } ], "issuelinks": [], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2018-06-29T17:01:51.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": "*Summary:*\r\nOn Android, a ScrollableView's left/right paging arrows are hard-coded to 80x80 pixels. They appear very large on a low DPI screen (such as \"hdpi\") and small on a high DPI screen (such as \"xxxhdpi\").\r\n\r\n*Steps to Reproduce:*\r\n\r\n# Build and run the below code on an \"hdpi\" device.\r\n# Scroll to the right in the ScrollableView.\r\n# Note the very LARGE left/right arrows that are overlaid on the view.\r\n# Run the below code on an \"xxxhdpi\" device.\r\n# Scroll to the right in the ScrollableView.\r\n# Note the very small left/right arrows that are overlaid on the view.\r\n\r\n{code:javascript}\r\nvar window = Ti.UI.createWindow();\r\nvar scrollableView = Ti.UI.createScrollableView(\r\n{\r\n\tviews:\r\n\t[\r\n\t\tTi.UI.createView({ backgroundColor: \"red\" }),\r\n\t\tTi.UI.createView({ backgroundColor: \"green\" }),\r\n\t\tTi.UI.createView({ backgroundColor: \"blue\" }),\r\n\t\tTi.UI.createView({ backgroundColor: \"purple\" }),\r\n\t],\r\n\tshowPagingControl: true,\r\n});\r\nwindow.add(scrollableView);\r\nwindow.open();\r\n{code}\r\n\r\n*Expected Result:*\r\nThe left/right arrows should be density scaled so that they appear to have a similar physical size (in inches) between different DPI devices.\r\n", "attachment": [], "flagged": false, "summary": "Android: ScrollableView left/right page arrows are not density scaled", "creator": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 1000, "state": "closed", "name": "2018 Sprint 04 SDK", "startDate": "2018-02-12T04:23:01.913Z", "endDate": "2018-02-26T04:23:00.000Z", "completeDate": "2018-02-26T19:36:01.769Z", "originBoardId": 114 }, { "id": 126, "state": "closed", "name": "2018 Sprint 05 SDK", "startDate": "2018-02-25T19:38:08.926Z", "endDate": "2018-03-11T18:38:00.000Z", "completeDate": "2018-03-11T22:06:01.520Z", "originBoardId": 100 } ], "comment": { "comments": [ { "id": "432535", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR (master): https://github.com/appcelerator/titanium_mobile/pull/9696", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-12-23T04:16:51.000+0000", "updated": "2017-12-23T04:16:51.000+0000" }, { "id": "437398", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed. Waiting for merger to be enabled.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-05-05T01:11:03.000+0000", "updated": "2018-05-05T01:11:03.000+0000" }, { "id": "437539", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR Merged.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-05-09T21:21:26.000+0000", "updated": "2018-05-09T21:21:26.000+0000" }, { "id": "438868", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix in SDK 7.3.0.v20180628132121.\r\nClosing.\r\n", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-06-29T17:01:47.000+0000", "updated": "2018-06-29T17:01:47.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }