{ "id": "101022", "key": "TIMOB-10897", "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": [], "resolution": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2013-08-06T22:59:28.000+0000", "created": "2012-09-13T12:00:20.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "androidbuild", "cb-verified", "core" ], "versions": [ { "id": "13273", "description": "Release 2.0.2", "name": "Release 2.0.2", "archived": false, "released": true, "releaseDate": "2012-05-31" } ], "issuelinks": [ { "id": "22005", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "102612", "key": "TIMOB-11252", "fields": { "summary": "Android: Entries in tiapp.xml do not replace stock values in generated AndroidManifest.xml", "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": "30665", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "118048", "key": "TIMOB-14773", "fields": { "summary": "Android: Expose an API to set themes", "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": "Low", "id": "4" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } }, { "id": "30584", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "103020", "key": "TIMOB-11341", "fields": { "summary": "Android: App build with targetSdkVersion > 11 should use newer themes", "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": "Medium", "id": "3" }, "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": "2017-03-22T18:32:05.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" }, { "id": "10207", "name": "Tooling" } ], "description": "Currently, we generate an AndroidManifest.xml with two themes essentially hardcoded: the launcher activity has the Titanium theme (parent android:Theme, the default theme for API level 10 and earlier) and the TiModal and TiTranslucent activities (used for modal windows, among other things) uses the android Translucent theme (again, an API level 10 and earlier theme). You can set an application-level theme in tiapp.xml, but it will be overridden by the activity themes.\r\n\r\nWe can override these activity themes with a custom android manifest, or by copying activities from the manifest into tiapp.xml and modifying them, but I'm wondering whether it might be more straightforward to add a tiapp.xml property that specifies the default themes for each of these pre-generated activities.\r\n\r\nThere may be other approaches here, but it seems like we could make themes easier to use.\r\n\r\nOne alternate approach: simple include the boilerplate for these activities in the default tiapp.xml, instead of forcing users to build the application and copy the boilerplate into the tiapp.xml file in order to change themes.", "attachment": [], "flagged": false, "summary": "Android: Allow default themes to be set from tiapp.xml", "creator": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "265235", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "After discussing with Allen and Vishal, we decided the better solution is to allow the theme to be set programmatically when the activity is started. Since this may be a major effort, we may want to defer until Ti.next.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-08-06T22:59:28.000+0000", "updated": "2013-08-06T22:59:28.000+0000" }, { "id": "414871", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue will not fix and with reference to the above comments. ", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T18:32:05.000+0000", "updated": "2017-03-22T18:32:05.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }