{ "id": "100569", "key": "TIMOB-10801", "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": "15699", "description": "2013 Sprint 21", "name": "2013 Sprint 21", "archived": true, "released": true, "releaseDate": "2013-10-18" }, { "id": "15701", "description": "2013 Sprint 21 Core", "name": "2013 Sprint 21 Core", "archived": true, "released": true, "releaseDate": "2013-10-18" }, { "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-19T01:20:45.000+0000", "created": "2012-09-06T14:06:19.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "SupportTeam", "androidbuild", "api", "cb-verified", "hard_to_verify", "module_splashscreen", "qe-testadded" ], "versions": [ { "id": "14096", "description": "Release 2.1.2", "name": "Release 2.1.2", "archived": true, "released": true, "releaseDate": "2012-08-31" } ], "issuelinks": [ { "id": "30333", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "117038", "key": "TIMOB-14508", "fields": { "summary": "Android : 9 patch image for splash screen stretches unevenly", "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": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "30194", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "106420", "key": "TIDOC-1319", "fields": { "summary": "Android: Using nine-patch image for splash screen causes window to be squished in one corner", "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": "33078", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "122092", "key": "TIMOB-15664", "fields": { "summary": "Android: nine-patch splash screen does not work correctly", "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": "30324", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "117439", "key": "TIDOC-1203", "fields": { "summary": "9-patch image not supported for Splash Screen", "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": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "30195", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "117038", "key": "TIMOB-14508", "fields": { "summary": "Android : 9 patch image for splash screen stretches unevenly", "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": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2013-11-21T00:29:16.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": "h3. Issue\r\n\r\nBranding the assets is difficult in Titanium's Splash Screen implementation (that assumes a full-size image file). So, as a workaround we need the 9-patch image to work for the splash screen. However, this does not work. When we add a default.9.png instead of default.png in a density specific folder such as res-port-hdpi, Ti would seem to try to pick a default.png in another density over the default.9.png. If we remove all density specific versions and just used default.9.png, Ti shows a default version of a splash screen that is not an asset in the project. If we rename the default.9.png to just default.png that would show up, just not as a 9-patch.\r\n\r\n\r\nh3. Sample\r\n\r\nCreate a default Titanium project and swap the default.png with a 9-patch image (.9.png extension).\r\n\r\nh4. Additional Info\r\nThere is a need to externally provide brandable assets that must be managed outside of development and inserted into build process. Need a way to limit the build process complexity and want to keep down the number of splash screen assets that have to be created and uploaded.\r\n\r\n\r\n", "attachment": [ { "id": "31064", "filename": "TestProject.zip", "author": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "created": "2012-09-06T16:38:54.000+0000", "size": 2061730, "mimeType": "application/zip" } ], "flagged": false, "summary": "Android: Allow 9-patch images in splash screen", "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: 2.1.2.GA\r\nPlatform OS: Android", "comment": { "comments": [ { "id": "217917", "author": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "body": "Attaching a sample project with 9-patch image as splash screen to test on.", "updateAuthor": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "created": "2012-09-06T16:38:54.000+0000", "updated": "2012-09-06T16:38:54.000+0000" }, { "id": "218396", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This can be done by creating your own theme.\r\n1. Under your project dir, create platform/android/res/drawable-xxxx/splash.png\r\n2. Create theme.xml under platform/android/res/values\r\n3. Content of xml should look something like this: \r\n{code}\r\n\r\n\r\n\r\n\r\n{code}", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-11T10:51:09.000+0000", "updated": "2012-09-11T10:51:48.000+0000" }, { "id": "218403", "author": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "body": "Tried this out and worked for me. Communicated this solution to the customer. Waiting for their reply.", "updateAuthor": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "created": "2012-09-11T11:30:11.000+0000", "updated": "2012-09-11T11:30:11.000+0000" }, { "id": "246418", "author": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "body": "Hi,\r\nIs there any update on this issue? I tried to us a 9 patch for splash screen, and saw what someone else already [reported in the Q&A|https://developer.appcelerator.com/question/149184/9-patch-splash-screen-initial-window-does-not-fill-screen]. I am using the Holo theme for my project so in any case I needed to define the splash screen in the XML theme file: this worked for me with a standard png but not a 9-patch. SDK 3.0.2, Android 4.1.2 with Holo theme, theme modified as above (i.e. using splash.png and not default.png).\r\n\r\nUPDATE: From my experience trying to get it to work, the method works as long as no lightweight windows exist under this custom theme. So the recommendation (until this is fixed, if ever) should be to create the custom theme only for the initial activity, and all following views should belong to other activities. \r\n\r\nThanks,\r\nMark", "updateAuthor": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "created": "2013-04-08T16:16:13.000+0000", "updated": "2013-04-09T06:09:42.000+0000" }, { "id": "262992", "author": { "name": "blackbaudmobile", "key": "blackbaudmobile", "displayName": "Blackbaud Mobile", "active": true, "timeZone": "America/New_York" }, "updateAuthor": { "name": "blackbaudmobile", "key": "blackbaudmobile", "displayName": "Blackbaud Mobile", "active": true, "timeZone": "America/New_York" }, "created": "2013-07-24T16:43:03.000+0000", "updated": "2013-07-24T16:43:03.000+0000" }, { "id": "273257", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This feature will contain a change in the CLI and an update in the doc. Please resolve the ticket until both parts are done.", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-27T21:23:19.000+0000", "updated": "2013-09-27T21:23:19.000+0000" }, { "id": "273912", "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:26:42.000+0000", "updated": "2013-10-05T00:26:42.000+0000" }, { "id": "275257", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "[~cbarber] is there a way I can already use this PR? Or will it be release with 3.1.4 scheduled for this week?", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2013-10-16T08:14:10.000+0000", "updated": "2013-10-16T08:14:10.000+0000" }, { "id": "275258", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~fokke] This was implemented as apart of the new and awesome Android build rewrite. It will be available with Titanium SDK 3.2.0. You'll be able to preview it once we merge it into master.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-10-16T08:42:11.000+0000", "updated": "2013-10-16T08:42:11.000+0000" }, { "id": "275383", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Can't wait :) ... really", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2013-10-17T05:50:56.000+0000", "updated": "2013-10-17T05:50:56.000+0000" }, { "id": "275774", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Another pull request? https://github.com/appcelerator/titanium_mobile/pull/4781", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-10-18T23:08:07.000+0000", "updated": "2013-10-18T23:08:07.000+0000" }, { "id": "275809", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/4781", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-19T01:20:45.000+0000", "updated": "2013-10-19T01:20:45.000+0000" } ], "maxResults": 25, "total": 25, "startAt": 0 } } }