Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Tabgroup Fullscreen with no notification area

Is it possible to have a tabgroup run fullscreen with no notification area.

I have tried opening a window from app.js that has fulscreen: true and navBarHidden : true, When I run the app I see it initially does this but when it loads the js file with the tabgroup the notification area re-appears.

— asked November 18th 2010 by Kevin
  • area
  • fullscreen
  • navbarhidden
  • notification
  • tabgroup
0 Comments

1 Answer

  • What is the "notification area"? If you want an app with no tab bar (but still want some of the functions, like the auto-back button created), do this in your app.js.

    // this sets the background color of the master UIView (when there are no windows/tab groups on it)
    Titanium.UI.setBackgroundColor('#000');
    
    
    
    var tabGroup = Titanium.UI.createTabGroup();
    
    
    //
    // create base UI tab and root window
    //
    var main = Titanium.UI.createWindow({  
        title:'Plot Me',
        url:'main.js',
    
    });
    var maintab = Titanium.UI.createTab({  
        window:main
    });
    
    main.hideTabBar();
    tabGroup.addTab(maintab);
    tabGroup.open();
    
    — answered November 18th 2010 by Josh Lewis
    permalink
    2 Comments
    • Thanks for the reply Josh,

      The notification area is the top bar on Android that shows Time, Mobile network bars, Wifi and any other application specific notifications.

      The code your using I believe is Iphone specific.

      I think what I need to do is use a version of a fake tabgroup as kindly provided by Christian: http://developer.appcelerator.com/question/46801/giving-to-the-community-custom-tabgroup-class-working-on-android-and-iphone

      I believ tabgroups on android don't allow you to go completely fullscreen.

      — commented November 26th 2010 by Kevin
    • Did you solve this? I have the same problem. Thanks

      — commented July 22nd 2012 by Marco Seguri
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.