{ "id": "173430", "key": "AC-6192", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2019-04-03T16:44:03.000+0000", "created": "2019-04-02T09:16:18.000+0000", "labels": [ "actionbar,", "android,", "sek-8.0.0", "tabgroup," ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2019-04-03T16:52:07.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": "Starting with SDK 8.0.0, using the actionBar.hide () will no longer hide the tabs. I am developing an app that requires this. Is this a mistake? Or is there a new function to hide the tabs (TabGroup)?", "attachment": [], "flagged": false, "summary": "SDK 8.0.0 Android - ActionBar.hide() shows anyway Tabs", "creator": { "name": "aschattat", "key": "aschattat", "displayName": "Antje Schattat", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "aschattat", "key": "aschattat", "displayName": "Antje Schattat", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac: 10.13.6\r\nStudio: 5.0.0\r\nSDK 8.0.0", "comment": { "comments": [ { "id": "447428", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is not a bug. It was an intentional breaking-change in Titanium 8.0.0.\r\n\r\nWhat you need to do instead is call the [TabGroup.disableTabNavigation()|https://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.TabGroup-method-disableTabNavigation] method. This will hide the tabs in Titanium 8.0.0 and older versions as well.\r\n\r\nRegarding the 8.0.0 {{TabGroup}} breaking-change...\r\nDisplaying tabs via the {{ActionBar}} was deprecated by Google back in Android 5.0. The modern way to do it is via Google's [TabLayout|https://developer.android.com/reference/android/support/design/widget/TabLayout] and [BottomNavigationView|https://developer.android.com/reference/android/support/design/widget/BottomNavigationView] Java classes which is what Titanium uses now.\r\n\r\nThe benefits of this change is:\r\n* You can now use a \"NoTitleBar\" theme in a {{TabGroup}}. (ie: No {{ActionBar}}.)\r\n* Bottom tabs are now supported.\r\n\r\nThe negative effect of this change is that the top tabs no longer appear in the {{ActionBar}} when in landscape orientation. But you are now able to remove/hide the {{ActionBar}} anyways and preserve the tabs, which is a feature many app developers were after anyways.\r\n\r\nI hope this helps.", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-04-02T18:07:02.000+0000", "updated": "2019-04-02T18:07:02.000+0000" }, { "id": "447436", "author": { "name": "aschattat", "key": "aschattat", "displayName": "Antje Schattat", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thank you for the quick help. It works. I've already thought something like that, I have unfortunately overlooked it in the documentary.\r\n\r\nAnd thanks for the hint with the BottomNavigationView.", "updateAuthor": { "name": "aschattat", "key": "aschattat", "displayName": "Antje Schattat", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-04-03T06:02:06.000+0000", "updated": "2019-04-03T06:02:06.000+0000" }, { "id": "447453", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Happy to help!\r\n\r\nAnd you can put the tabs on the bottom via {{TabGroup}} property \"style\".\r\nhttps://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.TabGroup-property-style\r\n", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-04-03T16:51:46.000+0000", "updated": "2019-04-03T16:51:46.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }