[AC-3264] Can't hide tabBar on android
| GitHub Issue | n/a |
|---|---|
| Type | Improvement |
| Priority | n/a |
| Status | Closed |
| Resolution | Cannot Reproduce |
| Resolution Date | 2014-10-28T08:36:53.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Titanium SDK & CLI |
| Labels | TCSupportTriage |
| Reporter | Andrey Pervushin |
| Assignee | Mauro Parra-Miranda |
| Created | 2014-08-06T08:04:51.000+0000 |
| Updated | 2016-03-08T07:57:40.000+0000 |
Description
we need ability to hide tabBar on android
Hello! Can you please take a look into: https://developer.appcelerator.com/question/127317/hide-tab-bar-on-android and let me know if that works for you? Best Regards! Ps. Or are you referring to the Action bar? http://www.appcelerator.com/blog/2014/08/hiding-the-android-actionbar/
tried to add /titanium_tabgroup.xml - not working I used actionbar and hiding it on window open looks not good
Hi,
Test Code
app.jsvar tabGroup = Titanium.UI.createTabGroup({}); var win1 = Titanium.UI.createWindow({ backgroundColor: 'green', //tabBarHidden: true }); var tab1 = Titanium.UI.createTab({ window: win1 }); tabGroup.addTab(tab1); tabGroup.open();Problem Description
Custom titanium_tabgroup.xml work since Ti SDK 2.X.X but it doesn’t work for Ti SDK 3.X.X. In the project directory "Project_Name/platform/android/res/layout/", we use the titanium_tabgroup.xml file. Reference link: https://developer.appcelerator.com/question/127317/hide-tab-bar-on-androidSteps to reproduce
- Create a simple classic project - Update app.js with test code - Add titanium_tabgroup.xml file in "Project_Name/platform/android/res/layout/" directory - Run on android device Screenshot of titanium_tabgroup.xml file directory: http://oi62.tinypic.com/20b093k.jpg