{ "id": "126179", "key": "TIMOB-16436", "fields": { "issuetype": { "id": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true }, "parent": { "id": "118800", "key": "TIMOB-15021", "fields": { "summary": "Android: Use new ActionBar compatibility in Android Support Library 18 to enable ActionBar on all Android versions", "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": "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": "15927", "description": "2014 Sprint 04", "name": "2014 Sprint 04", "archived": true, "released": true, "releaseDate": "2014-02-28" }, { "id": "15929", "description": "2014 Sprint 04 API", "name": "2014 Sprint 04 API", "archived": true, "released": true, "releaseDate": "2014-02-28" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-02-20T23:27:12.000+0000", "created": "2014-02-10T19:26:20.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "api" ], "versions": [], "issuelinks": [ { "id": "39075", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "133158", "key": "TIMOB-17326", "fields": { "summary": "Kitchen Sink targetSdkVersion needs update for 3.3.0", "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": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-16T21:43:42.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": "Now that we have integrated appcompat libraries, the next step is to extend ActionBarActivity to TiBaseActivity, set up custom themes and add support for ActionBarActivity (ActionBar support for older devices)\r\n\r\nAndroid theme source for reference: https://android.googlesource.com/platform/frameworks/base/+/refs/heads/master/core/res/res/values/themes.xml\r\n\r\nTesting steps: \r\n1. Run scons and make sure basic titanium apps run successfully.\r\n2. Run Anvil to make sure no new failures\r\n3. Run this code on both HoneyComb+ and 2.x devices\r\n{code}\r\nvar tabgroup = Ti.UI.createTabGroup();\r\nvar win1 = Ti.UI.createWindow({backgroundColor: 'red'});\r\nvar tab = Ti.UI.createTab({window: win1, title: 'Tab1'});\r\nvar win2 = Ti.UI.createWindow({backgroundColor: 'blue'});\r\nvar tab2 = Ti.UI.createTab({window: win2, title: 'Tab2'});\r\ntabgroup.addTab(tab);\r\ntabgroup.addTab(tab2);\r\ntabgroup.open();\r\n\r\n{code}\r\nYou should see the action bar with 2.x device.", "attachment": [], "flagged": false, "summary": "Android: Integrate AppCompat custom theme + ActionBarActivity", "creator": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "292841", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master PR: https://github.com/appcelerator/titanium_mobile/pull/5348\r\nKitchensink update: https://github.com/appcelerator-developer-relations/KitchenSink/pull/141", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-13T01:16:32.000+0000", "updated": "2014-02-14T07:21:56.000+0000" }, { "id": "306323", "author": { "name": "danpe", "key": "danpe", "displayName": "Dan Peleg", "active": true, "timeZone": "Asia/Jerusalem" }, "body": "It's impossible to hide the action bar after this release..", "updateAuthor": { "name": "danpe", "key": "danpe", "displayName": "Dan Peleg", "active": true, "timeZone": "Asia/Jerusalem" }, "created": "2014-05-23T21:26:46.000+0000", "updated": "2014-05-23T21:26:46.000+0000" }, { "id": "413168", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue has been fixed.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-16T21:43:42.000+0000", "updated": "2017-03-16T21:43:42.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }