{ "id": "88098", "key": "TIMOB-8066", "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": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-04-13T11:21:37.000+0000", "created": "2012-03-16T14:51:42.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "SupportTeam", "api" ], "versions": [ { "id": "13070", "description": "Release 1.8 Service Pack 2", "name": "Release 1.8.2", "archived": true, "released": true, "releaseDate": "2012-02-29" } ], "issuelinks": [], "assignee": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-23T21:39:11.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": "Adding res-notlong-port-xhdpi\" and other related xhdpi folders to android -> images folder does not work as the image is not taken from those folders. \r\n\r\nAs per the Android Developer website, I tried to create a 640 x 960 resolution avd to test this issue for xhdpi.\r\n\r\nTo test:\r\n\r\n1. Create an AVD for 640 x 960 resolution for titanium to run on. (This link explains the resolution needed for different densities: http://developer.android.com/guide/practices/screens_support.html)\r\n\r\n*You might have to edit the already created AVD to appropriate resolution since Titanium creates a new AVD by itself (unless there is another way)*\r\n\r\n2. Create any default app with res-long-port-xhdpi, res-long-land-xhdpi, res-notlong-port-xhdpi, res-notlong-land-xhdpi folders under android and add differen images to these folder to differentiate easily. (See Screenshot for the folder structure)\r\n\r\n3. Run the app with the desired AVD. The starting screen image that appears is not of xhdpi but of mdpi folder.\r\n\r\nPlease clarify about this issue.\r\n\r\n*Note: You would also need to set the tool-api-level and some other properties as below since the xhdpi has been added to android after api level 8.*\r\n\r\n{noformat}\r\n\r\n\r\n 8\r\n \r\n \r\n \r\n \r\n \r\n\r\n{noformat}\r\n", "attachment": [ { "id": "26300", "filename": "Screen Shot 2012-03-16 at 3.48.43 PM.png", "author": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "created": "2012-03-16T14:51:42.000+0000", "size": 28765, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: xhdpi density folder for extra large screens is not working ", "creator": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "environment": "Titanium SDK : 1.8.2\r\nPlatform OS: Android 2.3", "comment": { "comments": [ { "id": "188121", "author": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Escalating because two of our consulting engagements are asking for this. ", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-03-22T19:28:24.000+0000", "updated": "2012-03-22T19:28:24.000+0000" }, { "id": "190891", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The \"xhdpi\" qualifier is actuallly controlled by the screen's density, not it's size (ex: 640x960).\r\nYou can configure the density of the emulator by editing the AVD. Under the \"Hardware:\" options\r\nchange \"Abstracted LCD density\" to 320. This should cause Android to select the xhdpi images instead.", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-13T10:48:34.000+0000", "updated": "2012-04-13T10:48:34.000+0000" }, { "id": "190892", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "A good reference on the various qualifiers: http://developer.android.com/guide/practices/screens_support.html#qualifiers", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-13T10:49:21.000+0000", "updated": "2012-04-13T10:49:21.000+0000" }, { "id": "190894", "author": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "body": "Tested and verified this. The xhdpi folder does get detected on changing the dpi to 320.", "updateAuthor": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "created": "2012-04-13T11:14:00.000+0000", "updated": "2012-04-13T11:14:00.000+0000" }, { "id": "190898", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Re-opening to edit...", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-13T11:21:16.000+0000", "updated": "2012-04-13T11:21:16.000+0000" }, { "id": "415421", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid with reference to the previous comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-23T21:39:11.000+0000", "updated": "2017-03-23T21:39:11.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }