Disable the Animation of the action bar while hiding

BB10 photos Soft mask the action bar when you tap on the screen. When you do so, the action bar disappears immediately.

In an application of Cascades, if you:

Page-> setActionBarVisibility (ChromeVisibility::Hidden);

... the action bar to slide down until it is no longer visible.

I would like to disable this animation, but I don't know how. For the standard controls, I do things like:

ratingControl-> setImplicitLayoutAnimationsEnabled (false);

ImplicitAnimationController = allDisabled
ImplicitAnimationController::create (ratingControl)
. Enabled (false);

... but I'm not familiar with a way to get a reference to the action bar itself, or how, independently of any reference to disable animation.

Thank you
Daniel

Hi Daniel,.

If you switch between hidden and visibility for the ActionBar overlay it will appear/disappear without animation. Overlay, that's what the photos app uses so the image should not resize when the ActionBar toggle visibility.

Tags: BlackBerry Developers

Similar Questions

  • How to create navigation of the action bar on the right side.

    Hello

    Is there anyway to create the navigation of the action bar on the right side. I see a camera application can use it.

    MAZ

    I don't think that there are standard control that does this.

    You can create a container with DispositionAbsolue and place it outside the screen. LayoutUpdateHandler attached to the main container to obtain its dimensions. The second container "abscissa" can be set to the width of the main container, so it will be off the screen. Visibility of the initially fixed false container.

    When the button is pressed, show the container and drag it into the screen with animation.

    The container can contain any content, for example ListView with required components.

    It's just an idea, I have not implemented this specific scenario.

  • Customize the action bar footer Android app

    Hello

    I know my question is the same with this question in July:

    http://supportforums.BlackBerry.com/T5/Android-runtime-development/customize-the-action-bar-from-an-...

    However, I would like to know is there a plan in future OS release, where we can Autohide the action bar or customize the action with the custom action bar and icon?

    Thank you..

    Now you can completely eliminate the bar through XML, but that in the next 10.2.1 OS version.

    http://devBlog.BlackBerry.com/2013/12/Android-developers-eliminate-the-back-bar-in-your-10-2-1-app/

    However I have not seen yet any method of customization.

  • Change the color of the development of the action bar

    Hi all

    Please help me on how to change the color of the focus of the action bar, the default color of the action bar is blue I want to change it to yellow.

    Thanks in advance.

    Do not think, that can be done with the latest version of the SDK.

    See this http://supportforums.blackberry.com/t5/Cascades-Development/How-to-change-tabbed-pane-background-col...

    -Dishooom

  • Is it possible to have different text in action on the action bar menu?

    I want to have the text in the action menu such as 'start my session' and have a title on the tab of the action bar that says only: "Meeting" from the beginning of that meeting is difficult to adapt. Is this possible?

    Thank you once again.

    The code...

    Page {
        actions: [
            ActionItem {
                id: aiFirst
                ActionBar.placement: ActionBarPlacement.OnBar
                title: qsTr("First")
            },
            DeleteActionItem {
    
            }
        ]
    
        onActionMenuVisualStateChanged: {
            if (actionMenuVisualState == ActionMenuVisualState.AnimatingToVisibleFull) {
                aiFirst.title = qsTr("First and still the best")
            } else if (actionMenuVisualState == ActionMenuVisualState.AnimatingToHidden) {
                aiFirst.title = qsTr("First")
            }
        }
    
        [ ... ]
    
    }
    
  • Is it possible to add part or refresh in the action bar.

    I have been seaching the forum but have not found anything, is there a way to add update and share on the action bar?

    The docs for jQuery Mobile / BlackBerry 10 can be found here, including the elements of the action bar:
    https://github.com/BlackBerry/jQueryMobile-BB10-theme/tree/master/docs

  • Problem by placing the button in the action bar

    Hey

    I would like to add a button to the toolbar action and a few other actions menu antion. But the problem is that the button also appears in the action menu.

    Here is the code:

    actions:]
    {ActionItem}

    Title: "Option 1".

    onTriggered: {}
    page 1 of var = catalogue1.createObject ();
    Navigational.push (page 1);
    }
    },
    {ActionItem}
    Title: 'Option 2 '.

    onTriggered: {}
    page 2 var = history.createObject ();
    Navigational.push (page 2);
    }
    },
         
    ActionItem
    {
    Title: 'button '.
    ActionBar.placement: ActionBarPlacement.OnBar
                    
    onTriggered:
    {
    work here.
    }
                    
    }
    ]

    The button appeared on the action bar, as well as in the action menu.

    Can someone help me?

    This is 'normal' and what users would expect, this is why I would not recommend that you change it.

    Having said that trapping however the signal AnimatingToVisibleFull or VisibleFull in the menu then hide or remove the action would be the way to go if you must.

    http://developer.BlackBerry.com/Cascades/reference/bb__cascades__actionmenuvisualstate.html

    Of course, a by-product of this is that it will disappear from the bar thus (perhaps make your app look a bit unstable).

  • Is it possible to remove or disable the office bar see the taskbar?

    Show the desktop on the taskbar

    Is it possible to remove or disable the office bar see the taskbar?

    so doing several clicks is better than 1?

    Send your comments to MS and ask that the button can be deleted in Windows 8:

    http://mymfe.Microsoft.com/Windows 7/Feedback.aspx? formID = 195

    "A programmer is just a tool that converts the caffeine in code" Deputy CLIP - http://www.winvistaside.de/

  • How to disable the navigation bar in an article

    I have an image slider in a HTML article which can go full-screen. The button to exit full screen, however, is at the top of the display window and becomes hidden by the bar when the user clicks on the navigation screen. Is there a way to disable the navigation bar for a HTML article? I've attended MAX and remember them mentioning something HTML API, but I don't know how it works.

    Hi Zac,

    There is an API, and you can use it to block gestures are passed to us in your HTML article. See Digital Publishing Solution helps | Create articles to HTML for DPS 2015. There is information at the bottom of the page.

    Neil

  • OK, this is a really stupid question, but I'm trying to add a soundtrack to a project in first 10 elements, and the aide said section "click music in the action bar to display the Panel of music." I can't find a 'Music' box to click around. Can someone p

    OK, this is a really stupid question, but I'm trying to add a soundtrack to a project in first 10 elements, and the aide said section "click music in the action bar to display the Panel of music." I can't find a 'Music' box to click around. Can someone tell me please in the right direction?

    cdmw

    If your program is first items 10

    a. you are in help for first items 11, not 10, and his description of the Action/music bar tab.

    or

    b. more unlikely since first elements 11 was not yet released, there is a typing error in the

    First Elements 10 help.

    In first 10, chronology workspace Elements, see Audio Tools (speaker icon) above the timeline and his choice of SmartSound.

    Please review and study and then we can then what to do next.

    Thank you.

    RTA

  • Disable the scroll bar on the drop-down list?

    Hello.

    I have a form in which I use a list box which goes down.

    Due to the quantity of values in the list box, livecycle provides a scroll bar rather than opens the box to list completely until. As the list box is at the top, there is plent of room on the page.

    Is it possible to disable the scroll bar on the list box?

    Thanks for your help in advance.

    Will be

    Hello

    There is no way to disable this behavior of a drop-down list or list box.

  • Limit the "Record Type" options in the section search for presentation of the action bar

    Is it possible to limit the options of 'Record Type' in the 'Search' section in the disposition of the action bar for users specific role.

    Thank you!

    Mahesh, if you uncheck the box to go to step 2 of the role that you would restrict access to these types of records in the section of the application and research in the action bar.

  • Anyone know how to disable the movement forward while keeping the status bar

    Does anyone know how to disable the movement forward in the navigation and now the tray without having to use ActionScript? I already have the forward button disabled, but you can always advance by dragging the indicator in the status bar.

    Thank you!

    Hi Trevor,

    Close Captivate.

    Please copy - paste the swf attached to

    : Files\Adobe\Adobe captivate 4\Gallery\PlaybackControls\SwfBars\AS2.

    Open captivate and choose "default" PlayBar in the skin Editor. Publish the AS2 project. This should disable all the events on the progressbar control.

    Manish

    http://blogs.Adobe.com/Captivate

  • Impossible to disable the menu bar black in El Capitan

    An application that I used works option "menu bar black" of OSX and while I like it better than the light menu bar some of my menu icons are not visible in dark mode and so I would like to disable. However, the problem is that I can't. Whenever I have untick "use the menu bar black and anchor" setting in system preferences > general, nothing happens. Then when I close the system preferences and open it again, I find that the box is checked once more. (I also uninstalled all traces of the original application that made that change, reinstalled, tried to turn the option off, clear again, etc. - all without success).

    I tried to check in the Library/preferences /. GlobalPreferences, but it doesn't seem to be an option for this setting (while I can see the setting to hide the menu bar).

    Any ideas?

    Try

    remove parameters by default g AppleInterfaceStyle

  • How can I disable the "Awesome Bar" altogether. I don't want any of this feature.

    I WANT an address bar. I DON'T WANT an "Awesome Bar". In previous versions of FF, I was able to NOT SEARCH from the address bar. Now [FF 24 vs FF 17] I can not disable this rather undesirable behavior.

    I solved the problem...
    There was misconduct 'key' left by installing and removing a toolbar for the search engine. The tag has been removed from "subject: config ', and the behavior of the browser scheduled is back. It would appear that perhaps some of the 'key' tags have been renamed since my last version - which may explain why the wandering behavior began with an update of the browser.

    EDIT: BTW - the 'nothing' parameter should be set a monitoring framework that is not able to be changed by any other means. It must be set to replace all other behaviors. Moreover, it would be nice to have a Visual sense that obtained research is implemented off - by activating / disabling the default text in a "white" address bar of "search or enter the address" of "enter the address / search off»

Maybe you are looking for