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

Adobe AIR Development

Reply
Developer
SangramPatil
Posts: 271
Registered: ‎01-21-2013
My Device: BB10 Dev Aplha
My Carrier: -
Accepted Solution

Modifying the Title Bar

Can I modify the Title Bar, so as to add some additional elements in the title bar?

 

I have to modify the Title bar and want to add the Search Box, basically an Input text and cancel button. Is there any special component available in BB10 AIR SDK or I will have to create a custom one?

Please use plain text.
Developer
jtegen
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: Modifying the Title Bar

No not directly. You may be able to extend it, add your new elements and override the updateDisplayList to organize it they way you would like.

Alternatively, you can add your elements to the display list at the same level as the title bar and in that owning container, position the new items "over" the title bar. Just make certain you add the new children after the title bar.
Please use plain text.
Developer
SangramPatil
Posts: 271
Registered: ‎01-21-2013
My Device: BB10 Dev Aplha
My Carrier: -

Re: Modifying the Title Bar

Yes, in that case only option is to add element in the same container, and its done!

Please use plain text.