{ "id": "122199", "key": "AC-2535", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2013-11-13T23:08:55.000+0000", "created": "2013-11-07T17:57:12.000+0000", "labels": [ "android" ], "versions": [], "issuelinks": [ { "id": "33214", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "100576", "key": "TIMOB-10806", "fields": { "summary": "Android: Ti.UI.Button.image property is not working for density specific images", "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": "33213", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "100576", "key": "TIMOB-10806", "fields": { "summary": "Android: Ti.UI.Button.image property is not working for density specific images", "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": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:41:36.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": "14552", "name": "Appcelerator CLI", "description": "Please enter tickets related to Tooling and the CLI here" }, { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "Hi,\r\n\r\nI've just created a new project with Titanium SDK 3.2/CLI 3.2, added an ImageView then run it on a Genymotion-ed device with high density (hdpi).\r\nThe image is not displayed if I put it in *\"res-notlong-port-hdpi\"* (which is the folder corresponding to the device qualifiers).\r\n\r\nIt's displayed only if I put it at the root of *\"images\"* folder. \r\n\r\nHere's my code :\r\n{code:javascript|title=app.js} \r\nvar imgTest = Ti.UI.createImageView({\r\n\timage: '/images/black15.png',\r\n\ttop: 20,\r\n\tborderColor: '#000',\r\n\tbackgroundColor: 'red',\r\n\theight: 200,\r\n\twidth: 200\r\n});\r\nwin1.add(imgTest);\r\n{code}\r\n\r\nI get error message below in terminal :\r\n{noformat}\r\n[WARN] TiDrawableReference: (pool-3-thread-1) [632,632] Could not open stream to get bitmap\r\n{noformat}\r\n\r\nBy the way, the splashscreen is picked-up from the right folder.\r\n\r\nSame code is working with SDK 3.1.x / CLI 3.2", "attachment": [], "flagged": false, "summary": "images from res-xxx folders not displayed on Android with SDK 3.2", "creator": { "name": "sdelcroix", "key": "sdelcroix", "displayName": "Sébastien DELCROIX", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "sdelcroix", "key": "sdelcroix", "displayName": "Sébastien DELCROIX", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Ti SDK 3.2.0.v20131106174044\r\nTi CLI 3.2\r\nGenymotion running Nexus S / 4.2.2 / API 17 / HDPI\r\nOSX 10.8.5", "comment": { "comments": [ { "id": "279311", "author": { "name": "jicks83", "key": "jicks83", "displayName": "Jick Steen", "active": true, "timeZone": "Europe/Berlin" }, "body": "Same issue here on a Samsung Galaxy S2 running Android 4.1.2 and on a Nexus 7 II running Android 4.3 using SDK 3.2.0.v20131112180422", "updateAuthor": { "name": "jicks83", "key": "jicks83", "displayName": "Jick Steen", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-11-13T10:43:01.000+0000", "updated": "2013-11-13T10:43:01.000+0000" }, { "id": "279435", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Dupe of TIMOB-10806", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-11-13T23:08:55.000+0000", "updated": "2013-11-13T23:08:55.000+0000" }, { "id": "281023", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "DUP issue. ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2013-11-24T22:30:00.000+0000", "updated": "2013-11-24T22:30:00.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }