2 Replies Latest reply: May 22, 2012 3:11 PM by Denis T RSS

    Disable hide/show of tab bar

      Most of the sample applications use a tab bar at the bottom to switch between features. This tab bar usually has a little blue button to hide and show the tab bar. Examples are the DeviceDemo and DvtGalery. For me, this feel not very iOS like and I don't want to show this button to hide/show the tab bar. For example: https://docs.google.com/open?id=0B0EvDYuyTjZzdGh3YS1YaWZrdEE

      Other sample apps, like LifeCycle do not show this button but I can't see what the difference is at design time to disable this feature. For example: https://docs.google.com/open?id=0B0EvDYuyTjZzdWNXLXJ6SVRzaDg

      Does anyone know how I can disable the feature of showing/hiding the tab bar?
        • 1. Re: Disable hide/show of tab bar
          Never mind. Already found it. It's in the adfmf-application.xml which can be found in the Application Resources > Descriptors > ADF META-INF. That has a checkbox to show the navigation bar toggle button, or in XML:
              <adfmf:navigationBar displayHideShowNavigationBarControl="false"/>
          • 2. Re: Disable hide/show of tab bar
            Denis T
            FYI - There is also a Java API that let's you programmatically hide and show the nav bar as well.

            Look at the JavaDemo public sample, it shows you how to do this.