Titanium JIRA Archive
Appcelerator Community (AC)

[AC-3264] Can't hide tabBar on android

GitHub Issuen/a
TypeImprovement
Priorityn/a
StatusClosed
ResolutionCannot Reproduce
Resolution Date2014-10-28T08:36:53.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
LabelsTCSupportTriage
ReporterAndrey Pervushin
AssigneeMauro Parra-Miranda
Created2014-08-06T08:04:51.000+0000
Updated2016-03-08T07:57:40.000+0000

Description

we need ability to hide tabBar on android

Comments

  1. Mauro Parra-Miranda 2014-08-10

    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/
  2. Andrey Pervushin 2014-08-12

    tried to add /titanium_tabgroup.xml - not working I used actionbar and hiding it on window open looks not good
  3. Harish Mridha 2014-09-03

    Hi,

    Test Code

    app.js
       var 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-android

    Steps 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

JSON Source