Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11367] Android: Application title appears above TabGroup

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionInvalid
Resolution Date2012-11-28T22:04:56.000+0000
Affected Version/sRelease 3.0.0
Fix Version/s2012 Sprint 24, 2012 Sprint 24 API
ComponentsAndroid
Labelsapi, regression, tabgroup, triage
ReporterBill Dawson
AssigneeHieu Pham
Created2012-10-10T22:15:37.000+0000
Updated2013-03-13T19:00:22.000+0000

Description

Steps:

Launch KitchenSink or any tabgroup-based app.

Note the title bar with "KitchenSink" sticks around. Doesn't in earlier versions.

Comments

  1. Josh Roesslein 2012-10-10

    Yeah tab groups now re-use the same activity as windows. The previous TiTabActivity would hardcode it to be fullscreen. I talked to QE earlier about this and we seemed to agree this new behavior is now "correct". I would be open to further discussing this behavior and when or if the title decoration should be present.
  2. Ingo Muschenetz 2012-10-14

    Is it possible for a user to flip a switch to return it to the previous behavior (either in code or in the tiapp.xml)?
  3. M Mader 2012-11-20

    this does not only look different, it also breaks old positioning of windows (no fullscreen) opened "above" tabGroup. The old behaviour opened the window below the TabBar, now it opens them on top of the TabBar. I would also like to be able to switch back to the old behaviour or at least hide the titleBar
  4. Josh Roesslein 2012-11-26

    It's possible we could enable the "navBarHidden" property for TabGroup to hide the title bar on Android. This would be consistent with how we expose hiding title bars on Windows.
  5. Hieu Pham 2012-11-28

    To hide the application title in tabGroup, simply sets navBarHidden to true. I.e:
       var tabgroup = Ti.UI.createTabGroup({navBarHidden: true});
       var win1 = Ti.UI.createWindow();
       var tab1 = Ti.UI.createTab({window: win1, title: 'tab1'});
       tabgroup.addTab(tab1);
       tabgroup.open();
       
    Closing as invalid.
  6. MM 2012-11-29

    navBarHidden is missing in the TabGroup docs
  7. Josh Roesslein 2012-11-29

    MM, I have opened TIDOC-916 to document this new property. Thanks for reporting.
  8. Shyam Bhadauria 2013-03-13

    Closing as the mentioned missing property has been added in the doc. Environment used for verification - Titanium SDK: 3.1.0.v20130311192922 Titanium  Studio:3.0.2.201302151605 Device:Emulator android 2.2

JSON Source