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
Forums Advisor I
vaishali28
Posts: 501
Registered: ‎03-01-2013
My Device: BlackBerry Z10

Placing Action Items along the four corners of the screen

Hey all

Is it possible to add for action items along the four corners of the display screen. If so, the how? Can anyoune gives me a sample how to do this?

Please use plain text.
Developer
BBSJdev
Posts: 6,090
Registered: ‎07-05-2012
My Device: Playbook, Z10 LE, Dev Alpha C
My Carrier: Orange

Re: Placing Action Items along the four corners of the screen

What do you mean by action items?

 

Are you looking to put menu like bars at all corners or just 4 buttons?

 

4 buttons can obviously be done by using a DockLayout with four buttons placed Top/Right, Top/Left, BottomRight, BottomLeft.

 

http://developer.blackberry.com/cascades/reference/bb__cascades__docklayout.html


If you've been helped click on Like Button, if you've been saved buy the app. :smileyhappy:

Developer of stokLocker, Sympatico and Super Sentences.
Please use plain text.
Forums Advisor I
vaishali28
Posts: 501
Registered: ‎03-01-2013
My Device: BlackBerry Z10

Re: Placing Action Items along the four corners of the screen

Action items means four options like help,settings,etc.Whenever we touch any option a screen will open.

And one more thing if this can be done through DockLayout ,then can it be possible to add all the four options on camera screen??

 

Like if we open our camera, it consists of 4 options in four corners of the display screen as capture,open saved,zoom and switch?

Please use plain text.
Developer
BBSJdev
Posts: 6,090
Registered: ‎07-05-2012
My Device: Playbook, Z10 LE, Dev Alpha C
My Carrier: Orange

Re: Placing Action Items along the four corners of the screen

Okay, I think you need to read up on some of the basics first, take a look here and try some of the tutorials and you'll find that all the questions you are asking are possible...

 

http://developer.blackberry.com/cascades/documentation/getting_started/introtocascades.html

http://developer.blackberry.com/cascades/documentation/dev/index.html

 

For the camera there are several possibilities, one being designing your own layout with the 4 buttons placed on top of the Camera Preview using a DockLayout then possibly using a Sheet or a NavigationPane to get you to the other screens.

 


If you've been helped click on Like Button, if you've been saved buy the app. :smileyhappy:

Developer of stokLocker, Sympatico and Super Sentences.
Please use plain text.