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

Android™ Development

Reply
New Contributor
Posts: 3
Registered: ‎07-18-2013
My Device: BB Z10
My Carrier: Rogers
Accepted Solution

Customize the action bar from an Android app

Hello everyone,

 

When you run an Android app on BB10, the OS creates an action bar, which is located at the bottom of the screen. The bar contains the back button, info button, hide/show button, and the button that triggers the menu in the Android app.

 

I want to always display the bar and remove the info and show/hide buttons from it. It seems like there is no way to customize the bar in BB 10.1. Does anyone know if BB 10.2 will provide APIs to customize the action bar from the Android app?

 

Thanks,

Max

 

 

Retired
Posts: 140
Registered: ‎04-19-2013
My Device: BlackBerry Z10

Re: Customize the action bar from an Android app

There is no way to customize this.

However in 10.2 the show info / pin buttons are gone, so there's only a back and menu button.

(Naturally then, the bar is always shown, and it's possible that we'll eventually have an option for developers to disable the bar for their app completely)
New Contributor
Posts: 3
Registered: ‎07-18-2013
My Device: BB Z10
My Carrier: Rogers

Re: Customize the action bar from an Android app

Thanks for your reply. This does answer my question.
Retired
Posts: 264
Registered: ‎01-08-2013
My Device: BlackBerry 10 Dev Alpha B
My Carrier: Bell

Re: Customize the action bar from an Android app

Hey maxkorytko,

 

I just wanted to pass along a link to an interesting article up on the DevBlog. 

 

In 10.2.1 you can dispose the back-bar by default by adding a small configuration fiile.

 

Link: http://devblog.blackberry.com/2013/12/android-developers-eliminate-the-back-bar-in-your-10-2-1-app/

Justin Jasmann | Android Application Development Consultant
Developer Relations
developer.blackberry.com
New Contributor
Posts: 3
Registered: ‎07-18-2013
My Device: BB Z10
My Carrier: Rogers

Re: Customize the action bar from an Android app

Great! Thanks for sharring this, jjasmann.