{ "id": "84245", "key": "AC-3025", "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": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2011-12-25T09:15:27.000+0000", "created": "2011-12-24T03:46:37.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "updated": "2016-03-08T07:48:03.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "h2. Problem\r\n\r\nUsing the instructions in the wiki guide at [Using density-specific resources on Android|https://wiki.appcelerator.org/display/guides/Using+density-specific+resources+on+Android], I added my icons in {{Resources/android/images/res-mdpi/media/icons/}}.\r\n\r\nI see that all the icons are getting copied to the {{build/android/res/drawable-mdpi}} directory correctly but when I run the app the icons which were used on buttons & as annotation markers don't show up.\r\n\r\nThe following results in a transparent button:\r\n\r\n{code:lang=javascript}\r\nTi.UI.createButton({image: '/images/media/icons/buttonicon.png'})\r\n{code}\r\n\r\nSimilarly, the following results in a transparent annotation which is clickable, but not visible:\r\n\r\n{code:lang=javascript}\r\nTi.Map.createAnnotation({image: '/images/media/icons/marker_pin.png'})\r\n{code}\r\n\r\n\r\nAll other density-specific icons used in the app work correctly.\r\n\r\nh2. Discussions\r\n\r\n* my question in the Q&A: [Density-based images don't work on buttons & annotations|http://developer.appcelerator.com/question/129524/density-based-images-dont-work-on-buttons--annotations]\r\n* somebody else seems to have faced a similar issue with annotations: [Density specific graphics for Android Map Annotations|http://developer.appcelerator.com/question/123062/density-specific-graphics-for-android-map-annotations]\r\n", "attachment": [], "flagged": false, "summary": "Android: UI - density-based images don't work on buttons & annotations", "creator": { "name": "taazzago", "key": "taazzago", "displayName": "Taazza GO", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "taazzago", "key": "taazzago", "displayName": "Taazza GO", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "* Titanium 1.7.5 SDK\r\n* Android 2.3? Is this really the version? Google APIs are required for maps.\r\n* device or emulator?\r\n* Linux version?\r\n", "comment": { "comments": [ { "id": "177162", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Taazza\r\n\r\nIn order for me to escalate this to the core team, the test case must run without modification, as per the [Creating a Test Case|https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-CreatingaTestCase].\r\n\r\nAlso, despite a community member attempting to assist you [in the Q&A|http://developer.appcelerator.com/question/129524/density-based-images-dont-work-on-buttons--annotations], you have not responded to his questions. Please go back and make certain that you have exhausted this route to resolving this issue.\r\n\r\nI will close this for now. Please reopen the ticket once it is complete, and I will move it to the main project.\r\n", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-12-25T09:14:20.000+0000", "updated": "2011-12-25T09:14:20.000+0000" }, { "id": "177163", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Please also complete the missing information, denoted by the question marks. Thanks", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-12-25T09:15:17.000+0000", "updated": "2011-12-25T09:15:17.000+0000" }, { "id": "183580", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Closing due to inactivity. If this issue still exists, please raise a new ticket, including all the information in the [JIRA Ticket Checklist|https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-JIRATicketChecklist] to ensure that we can escalate it quickly. Read [How to Submit a Bug Report|https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report] if you have not read it before, and always start a ticket using the [JIRA Ticket Template|https://wiki.appcelerator.org/display/guides/JIRA+Ticket+Template].\r\n\r\nThanks in advance", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2012-02-17T02:23:17.000+0000", "updated": "2012-02-17T02:23:17.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }