{ "id": "148054", "key": "ALOY-1271", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2015-05-21T07:34:23.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [ { "id": "47843", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "148053", "key": "TIMOB-18933", "fields": { "summary": "Android templates should use nine-patch images", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "None", "id": "6" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "updated": "2020-04-27T13:37:34.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "12600", "name": "Samples & Templates" } ], "description": "Since both Google and [we|http://docs.appcelerator.com/platform/latest/#!/guide/Icons_and_Splash_Screens-section-29004897_IconsandSplashScreens-Androidsplashscreenconsiderations] recommend using nine-patch for splash images, our templates should do so as well.\r\n\r\nThe new [Alloy|https://github.com/appcelerator/alloy/blob/master/platforms/android/project/app/assets/android/images/res-long-port-hdpi/default.png] splash images would work fine as a nine-patch image as they are.", "attachment": [ { "id": "58107", "filename": "Screen Shot 2016-02-01 at 11.39.42 AM.png", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2016-02-01T20:05:03.000+0000", "size": 74122, "mimeType": "image/png" } ], "flagged": false, "summary": "Android templates should use nine-patch images", "creator": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": null, "comment": { "comments": [ { "id": "375590", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "/cc [~jgo] [~hansknoechel]", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2016-02-01T11:37:26.000+0000", "updated": "2016-02-01T11:37:26.000+0000" }, { "id": "375593", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "[~cng] let's try to do this for 6.0?", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2016-02-01T11:38:23.000+0000", "updated": "2016-02-01T11:38:23.000+0000" }, { "id": "375609", "author": { "name": "jgo", "key": "jgo", "displayName": "Janice Go", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~fokkezb] [~hansknoechel] Where may I find the template items mentioned in this ticket? And what's the reasoning behind the 9-patch graphic for a splash screen?", "updateAuthor": { "name": "jgo", "key": "jgo", "displayName": "Janice Go", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-02-01T18:19:48.000+0000", "updated": "2016-02-01T18:19:48.000+0000" }, { "id": "375611", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~jgo] The link above is currently broken because of the Alloy repo, but it should work in a few minutes again. 9-patch images are used o have one central logo that can be used across different device screen sizes. it repeats the edges horizontally and vertically to make that possible. More infos: http://developer.android.com/tools/help/draw9patch.html", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-02-01T18:24:02.000+0000", "updated": "2016-02-01T18:24:02.000+0000" }, { "id": "375613", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "[~jgo] You can upload a square image with minimal margin around logo to http://ticons.fokkezb.nl and it will output nine-patch for you. I can also do it for you if you want. You'd probably use the same image as DefaultIcon as well.\r\n\r\nThe reasoning behind wanting to use 9-patch instead is that its best practice according to both Google and [ourselves|http://docs.appcelerator.com/platform/latest/#!/guide/Icons_and_Splash_Screens-section-29004897_IconsandSplashScreens-Androidsplashscreenconsiderations]. It prevents that odd screen sizes stretch the image out of aspect ratio and save a lot of Kbs because you need smaller and less number of images.", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2016-02-01T18:34:14.000+0000", "updated": "2016-02-01T18:36:37.000+0000" }, { "id": "375616", "author": { "name": "jgo", "key": "jgo", "displayName": "Janice Go", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~hansknoechel] [~fokkezb] Okay, good to know.\r\n\r\nIs there any specific thing I should be including? The Appcelerator logo will include the \"Now Part of Axway\" in the graphic, FYI.", "updateAuthor": { "name": "jgo", "key": "jgo", "displayName": "Janice Go", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-02-01T19:05:51.000+0000", "updated": "2016-02-01T19:05:51.000+0000" }, { "id": "375621", "author": { "name": "jgo", "key": "jgo", "displayName": "Janice Go", "active": true, "timeZone": "America/Los_Angeles" }, "body": "!Screen Shot 2016-02-01 at 11.39.42 AM.png|thumbnail!\r\n\r\nZip file: [https://www.dropbox.com/s/wytkzvbfxdd4p9m/appc_splash.9.zip?dl=0]", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2016-02-01T19:42:36.000+0000", "updated": "2016-02-01T20:05:38.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }