Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Regular Contributor
Posts: 77
Registered: ‎01-27-2010
My Device: Dev Alpha
Accepted Solution

How to create navigation of action bar on right side.

Hi,

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

Maz

Developer
Posts: 16,490
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: How to create navigation of action bar on right side.

i don't understand your request, what is "navigation of action bar"
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Regular Contributor
Posts: 77
Registered: ‎01-27-2010
My Device: Dev Alpha

Re: How to create navigation of action bar on right side.

Hi, Simon

Sorry about my confusing question. I open a camera application and click "..." button on right bottom.  An action menu will appear on right side. Then I select "Shooting Mode" or "Scene" action and it navigates to other actions of it likes "sub-action".

Maz

Developer
Posts: 1,523
Registered: ‎12-18-2012
My Device: Z30, Z10 LE, DevAlpha C, PlayBook

Re: How to create navigation of action bar on right side.

I don't think there's standard control which does this.

You can create a container with AbsoluteLayout and position it outside of screen. Use LayoutUpdateHandler attached to main container to obtain it's dimensions. The second container's "x" coordinate can be set to main container's width, so it will be off-screen. Set the container's visibility to false initially.

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

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

This is just an idea, I haven't implemented this exact scenario.

Andrey Fidrya, @zmeyc on twitter
Regular Contributor
Posts: 77
Registered: ‎01-27-2010
My Device: Dev Alpha

Re: How to create navigation of action bar on right side.

Hi, Zmey

Thank you very much for give me an idea. I'll try it !  :smileyhappy:

Maz