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

Java Development

Reply
Developer
Posts: 384
Registered: ‎08-12-2008
My Device: 8700

how to control Menu pop up position?

Hi All,

 

General, we override the makeMenu or onMenu, and then do menu.show(),

 

however, it always shows up on top-right corner.

 

what I want to do is same as RIM API,

 

if user pushes the trackball, it will pop up menu at Bottom-center position. if user pushes menubutton;

it will pop up from left-bottom corner.

 

How to control this ?

 

Thanks

Developer
Posts: 16,997
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: how to control Menu pop up position?

the menu position is controlled by the theme. short of having your own menu implementation there is no way to change this.
----------------------------------------------------------
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