{ "id": "86942", "key": "TIMOB-7827", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "15703", "description": "2013 Sprint 22", "name": "2013 Sprint 22", "archived": true, "released": true, "releaseDate": "2013-11-01" }, { "id": "15705", "description": "2013 Sprint 22 Core", "name": "2013 Sprint 22 Core", "archived": true, "released": true, "releaseDate": "2013-11-01" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-10-29T07:58:14.000+0000", "created": "2012-02-24T08:11:25.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "3.2.1", "SupportTeam", "androidbuild", "cb-verified", "module_android", "triage" ], "versions": [], "issuelinks": [ { "id": "32021", "type": { "id": "10020", "name": "Depends", "inward": "is dependent of", "outward": "depends on" }, "inwardIssue": { "id": "120224", "key": "TIDOC-1265", "fields": { "summary": "Document Android extra high density(xhdpi) and extra extra high density (xxhdpi) support", "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": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } }, { "id": "32892", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "119754", "key": "TIMOB-15114", "fields": { "summary": "Android: Add ability to supply XXHDPI launcher icons", "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": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } }, { "id": "32123", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "119221", "key": "TIMOB-14991", "fields": { "summary": "Android: Javascript can't get path of assets folder of module", "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 } } } }, { "id": "32097", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "119161", "key": "TIMOB-14977", "fields": { "summary": "Android Build: Compile resources", "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": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } }, { "id": "32502", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "119754", "key": "TIMOB-15114", "fields": { "summary": "Android: Add ability to supply XXHDPI launcher icons", "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": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-06-27T23:27:56.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.Request\r\nAndroid devices with dpi of 320 are now appearing on the market. Titanium Studio supports low (120 dpi), medium (160 dpi), and high (240 dpi) images via the \\Resources\\android\\images\\ directory's low, medium, and high subdirectories.\r\n\r\nThis request is for a new *extrahigh* subdirectory to be supported during the build process, which would map to the appropriate res\\drawable-*xhdpi*\\ directory.\r\n\r\nWe would also need support for extrahigh density splash screens, presumably in directories like \\Resources\\android\\images\\res-notlong-port-*xhdpi*, etc.\r\n\r\nh2.Relevant Q&A\r\n[http://developer.appcelerator.com/question/128278/xdpi-android-res-supported]", "attachment": [], "flagged": false, "summary": "Android: Add support for extrahigh density (320 dpi) devices", "creator": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "environment": "Android, Samsung Galaxy Nexus", "comment": { "comments": [ { "id": "202342", "author": { "name": "rfranknj", "key": "rfranknj", "displayName": "Russell Frank", "active": true, "timeZone": "America/New_York" }, "body": "You can support higher resolution devices just by building against a newer version of the Android SDK. Try putting this in your {{tiapp.xml}}:\r\n\r\n{{11}}\r\n\r\nThis will still work on older devices; I've been testing my app on 2.3, 2.2 and 4.0 devices, and despite building against API level 11 it works fine.\r\n\r\nHowever, what we do need for xhdpi device support is higher resolution versions of the images packaged with the framework, such as\r\n\r\n{{./titanium/src/java/org/appcelerator/titanium/res/drawable/btn_more_48.png}}\r\n\r\nOn an xhdpi device (such as the Galaxy Nexus) the check marks appear tiny.", "updateAuthor": { "name": "rfranknj", "key": "rfranknj", "displayName": "Russell Frank", "active": true, "timeZone": "America/New_York" }, "created": "2012-07-10T08:38:56.000+0000", "updated": "2012-07-10T08:41:20.000+0000" }, { "id": "202346", "author": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "body": "Russell, my Titanium apps will run on extrahigh density devices, even without the tool-api-level setting you suggest. The problem is that larger glyphs, made for extrahigh density devices like the Galaxy Nexus, which are twice the size of the medium-density glyphs, cannot be shown on these new deivces yet.\r\n\r\nThe request is specifically for a new *extrahigh* subdirectory (\\Resources\\android\\images\\extrahigh\\) to be supported so that I can throw my extrahigh density assets in there, just like I can place high density assets in the \\Resources\\android\\images\\high\\ directory. This is part of the Titanium build process.\r\n\r\nThe request also pursues support for extrahigh density splash screens in directories like \\Resources\\android\\images\\res-notlong-port-xhdpi\\, etc. This is also part of the Titanium build process.", "updateAuthor": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "created": "2012-07-10T09:07:40.000+0000", "updated": "2012-07-10T09:07:40.000+0000" }, { "id": "202386", "author": { "name": "rfranknj", "key": "rfranknj", "displayName": "Russell Frank", "active": true, "timeZone": "America/New_York" }, "body": "No, this is part of the Android resource packaging process. The res-xhdpi folders are only supported with a newer tool API level. Yes, apps built against API level 8 will run on newer devices; but in order to package xhdpi and xlarge assets, you must build with at least tool level 11.", "updateAuthor": { "name": "rfranknj", "key": "rfranknj", "displayName": "Russell Frank", "active": true, "timeZone": "America/New_York" }, "created": "2012-07-10T11:48:44.000+0000", "updated": "2012-07-10T11:49:09.000+0000" }, { "id": "202389", "author": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "body": "Russell, are you telling me that I can drop extrahigh density (320 dpi) images in \\Resources\\android\\images\\extrahigh\\ right now, change my tool-api-level to 11, and my new images will be used when the app runs on a Galaxy Nexus? I don't think so.", "updateAuthor": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "created": "2012-07-10T12:05:01.000+0000", "updated": "2012-07-10T12:05:01.000+0000" }, { "id": "202392", "author": { "name": "rfranknj", "key": "rfranknj", "displayName": "Russell Frank", "active": true, "timeZone": "America/New_York" }, "body": "It works for me in the {{res-}} directories, I'm not sure about {{extrahigh}}. I have high resolution assets in:\r\n\r\n{{Resources/android/images/res-normal-xhdpi/}} \r\n{{Resources/android/images/res-xhdpi/}}\r\n\r\netc, and it works. The {{extrahigh}} directory might be copied into a {{res-}} directory (for packaging by the Android tooling) by the Titanium tooling -- if so, then you're right, this does need to be fixed in Titanium. But the {{res-}} prefixed directories definitely work when building with tool level 11 - I've confirmed this on device.", "updateAuthor": { "name": "rfranknj", "key": "rfranknj", "displayName": "Russell Frank", "active": true, "timeZone": "America/New_York" }, "created": "2012-07-10T12:39:48.000+0000", "updated": "2012-07-10T12:39:48.000+0000" }, { "id": "218808", "author": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "body": "^^ This works. I added\r\n\r\n{noformat}11{noformat}\r\n\\\\\r\nto my TiApp.xml file, and put my extrahigh images in this directory:\r\n\r\n{noformat}Resources/android/images/res-xhdpi/{noformat}\r\n", "updateAuthor": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "created": "2012-09-13T08:44:12.000+0000", "updated": "2012-09-13T08:45:05.000+0000" }, { "id": "241808", "author": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "body": "If this is the way extrahigh assets are supposed to be included in a project, then the documentation needs to be udpated.", "updateAuthor": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "created": "2013-03-12T18:47:55.000+0000", "updated": "2013-03-12T18:47:55.000+0000" }, { "id": "261282", "author": { "name": "djamel.zahal", "key": "djamel.zahal", "displayName": "Djamel ZAHAL", "active": true, "timeZone": "Africa/Lagos" }, "body": "is this bug corrected ?\r\n\r\nim using sdk 3.0.0\r\ni added \r\n~~~~~\r\n\r\n \t11\r\n \r\n \r\n \r\n \r\n \r\n~~~~~~\r\n\r\nand i have images in res-xhpdi but they are not considered...\r\n\r\nany suggestions ?\r\n\r\nthanks", "updateAuthor": { "name": "djamel.zahal", "key": "djamel.zahal", "displayName": "Djamel ZAHAL", "active": true, "timeZone": "Africa/Lagos" }, "created": "2013-07-10T17:05:29.000+0000", "updated": "2013-07-10T17:05:29.000+0000" }, { "id": "261287", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~djamel.zahal] No. The bug is still unresolved. It is scheduled to be fixed in 3.2.0.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-10T17:18:51.000+0000", "updated": "2013-07-10T17:18:51.000+0000" }, { "id": "270481", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~ingo], \n\nWill be the feature able to supply XXHDPI launcher icons for an Android tablet release?\n\nConsidering Google+ link below, 'drawable-xxhdpi' would fit into XHDPI bucket:\n\n{quote}\nThe gorgeous screen on the Nexus 10 falls into the XHDPI density bucket. On tablets, Launcher uses icons from one density bucket up [0] to render them slightly larger. To ensure that your launcher icon (arguably your apps most important asset) is crisp you need to add a 144*144px icon in the drawable-xxhdpi or drawable-480dpi folder.\n{quote}\n\n- https://plus.google.com/+NickButcher/posts/ePQya3KsTjW", "updateAuthor": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-09-09T23:19:07.000+0000", "updated": "2013-09-09T23:19:07.000+0000" }, { "id": "273918", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Pull request: https://github.com/appcelerator/titanium_mobile/pull/4760", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-10-05T00:28:06.000+0000", "updated": "2013-10-05T00:28:06.000+0000" }, { "id": "277114", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Fixed as apart of new Android build.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-10-29T07:58:14.000+0000", "updated": "2013-10-29T07:58:14.000+0000" }, { "id": "283916", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified with icons for high density devices & the tests were successfull/\r\n\r\nEnvironment:\r\nAppcel Studio : 3.2.0.201312101708\r\nTi SDK : 3.2.0.v20131210191510\r\nMac OSX : 10.8.5\r\nAlloy : 1.3.0-cr\t\r\nCLI - 3.2.0-cr\r\nSamsung Galaxy S4 running android 4.2.2\r\nNexus 5 - android 4.4", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-12-12T01:46:38.000+0000", "updated": "2013-12-12T01:46:38.000+0000" }, { "id": "283971", "author": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "body": "So with this update, is Resources/android/images/res-xhdpi/ the correct place to put these images? Is there a tool-api-level requirement?", "updateAuthor": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "created": "2013-12-12T13:48:13.000+0000", "updated": "2013-12-12T13:48:13.000+0000" } ], "maxResults": 17, "total": 17, "startAt": 0 } } }