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
Developer
jasoncheung
Posts: 67
Registered: ‎09-01-2012
My Device: Dev Alpha
Accepted Solution

ActionItem title on Landscape mode

Is it the default behaviour for the title (text) to be hidden in the action bar for the action items in landscape mode?

Is there a way to prevent that from happening?

 

Developer
hakimrie
Posts: 82
Registered: ‎07-23-2009
My Device: 9900

Re: ActionItem title on Landscape mode

if you want your actionitem shown on Bar, make sure to add

ActionBar.placement: ActionBarPlacement.OnBar

 in your actionitem. it will show action item on bar when device on both portrait & landscape mode

Developer
jasoncheung
Posts: 67
Registered: ‎09-01-2012
My Device: Dev Alpha

Re: ActionItem title on Landscape mode

Thanks, but I don't have an issue with the ActionItem showing on the bar, but the text of the ActionItem.

For example the back button in portrait mode is the < with the word "Back" underneath it, however when I rotate to landscape, it only shows < without the text.

Developer
hakimrie
Posts: 82
Registered: ‎07-23-2009
My Device: 9900

Re: ActionItem title on Landscape mode

yup, apparently it is like that. when on in landscape mode, the text is disappear.

Developer
jasoncheung
Posts: 67
Registered: ‎09-01-2012
My Device: Dev Alpha

Re: ActionItem title on Landscape mode

I wonder if they'll give us the option in the future to change that.
New Contributor
turitu
Posts: 5
Registered: ‎01-05-2011
My Device: Z10, Q10, Z30

Re: ActionItem title on Landscape mode

You probably discovered this by now, but the label does not "completely" disappear. When a user long presses an action (in landscape mode, or on Q5/Q10) the lable is shown above the action bar.

Developer
alopix
Posts: 416
Registered: ‎04-10-2011
My Device: Z10 LE & PlayBook

Re: ActionItem title on Landscape mode

I hope they will not allow to show the title in landscape as it would fill up precious pixels for real content and touch interaction :smileywink:

-----------------------------------------------------------------------------
Check out my apps in the BlackBerry World
Visit my developer blogs /dev/alopix and /home/alopix
BBM Channel: C0047B612