{ "id": "173029", "key": "AC-6146", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2019-03-01T22:25:48.000+0000", "created": "2019-02-20T14:48:17.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2019-03-01T22:25:49.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "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": "At Android devices when you first launch the app and the device is horizontal the tab group appears as follow when you rotate it to the vertical position.", "attachment": [ { "id": "66177", "filename": "52397761_1961077823989408_2806662798954725376_n.png", "author": { "name": "andreas.pingas", "key": "andreas.pingas", "displayName": "Andreas Pingas", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-02-20T14:47:38.000+0000", "size": 10609, "mimeType": "image/png" } ], "flagged": false, "summary": "Tab Group", "creator": { "name": "andreas.pingas", "key": "andreas.pingas", "displayName": "Andreas Pingas", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "andreas.pingas", "key": "andreas.pingas", "displayName": "Andreas Pingas", "active": true, "timeZone": "America/Los_Angeles" }, "environment": " SDK 8.0.0", "comment": { "comments": [ { "id": "446216", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is not a bug and was made this way on purpose.\r\n\r\nIn Titanium 8.0.0, Android's {{TabGroup}} has been completely rewritten to use Google's newest native tab classes. Our old implementation displayed tabs in the {{ActionBar}} and has been deprecated by Google.\r\n\r\nThe benefits of this change is that you can now use a \"NoTitleBar\" theme. You weren't able to do this before since tabs used to be embedded within it. The other benefit of our {{TabGroup}} rewrite is that Android now supports a \"bottom\" tab style similar to iOS.\r\n\r\nThe negative is that the top tab bar style will appear below the {{ActionBar}} when landscape (as you've noted) since they're no longer embedded within the {{ActionBar}}. If you don't like this behavior, then I recommend that you use the \"NoTitleBar\" theme instead... which is how it's normally displayed in iOS as well.\r\n", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-02-20T22:33:15.000+0000", "updated": "2019-02-20T22:33:15.000+0000" }, { "id": "446250", "author": { "name": "andreas.pingas", "key": "andreas.pingas", "displayName": "Andreas Pingas", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "andreas.pingas", "key": "andreas.pingas", "displayName": "Andreas Pingas", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-02-22T12:09:18.000+0000", "updated": "2019-02-22T12:09:18.000+0000" }, { "id": "446253", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello [~andreas.pingas], I tried to test the issue on the ticket above, I was able to reproduce it on a device (Nokia 6 Android 8.1.0). I am testing with the SDK 8.0.0.v20190219113758. launching a TabGroup in \"portrait\" form, In landscape mode tabs are resized and when going back to portrait mode the tabs stretch to fit the window. But, launching a TabGroup in \"landscape\" form, In portrait mode, the tabs won't resize to fill the window. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2019-02-22T18:32:02.000+0000", "updated": "2019-02-22T18:32:02.000+0000" }, { "id": "446256", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "bq. Also, TabGroup with bottom style, is it obligatory to have title at tabs?\r\n\r\nYou do not have to set a title, but it'll still render a small empty space where the title would normally be. This is a feature that Google has added fairly recently (support library v28) which we haven't upgraded to yet (Titanium is using v27). So, this is a thing we can do in the future once [TIMOB-26262] is done.", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-02-22T19:14:08.000+0000", "updated": "2019-02-22T19:14:08.000+0000" }, { "id": "446263", "author": { "name": "andreas.pingas", "key": "andreas.pingas", "displayName": "Andreas Pingas", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thanks for the update", "updateAuthor": { "name": "andreas.pingas", "key": "andreas.pingas", "displayName": "Andreas Pingas", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-02-23T18:24:09.000+0000", "updated": "2019-02-23T18:24:09.000+0000" }, { "id": "446455", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Closing this as a duplicate of TIMOB-26698. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2019-03-01T22:25:31.000+0000", "updated": "2019-03-01T22:25:31.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }