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

New Contributor
Posts: 6
Registered: ‎04-01-2013
My Device: 9900
My Carrier: AT&T
Accepted Solution

Personalized TitleBar


I have a couple of questions.



Is there a way to peronalize the title bar, like for example, put an image on it? center the text? (other than spacing it all the way to the center).



Since I have not found a way to personalize the title bar as I wanted, I have been using a .png that I made, as the title bar. But I have found a problem with this, whenever the keyboard pops up, the image shrinks in order to fit all the content on the screen. Is there a way to avoid this? or give an image the same properties as a title bar? 




Posts: 43
Registered: ‎12-16-2011
My Device: Torch 9800 & Playbook
My Carrier: Three

Re: Personalized TitleBar

[ Edited ]

I suggest creating a Custom Control, which is what I have done in my application.


That way you can add any features you would like in the titlebar. 


It's one of the great features of cascades, if a stock control doesn't suit, roll your own.  A custom control with a label and an imageview, roberts your mothers brother, you have an image in a titlebar.


Daniel - Neurocode
If my posts help, please click the Like button.

gymChronicles - helping you to keep motivated
New Contributor
Posts: 6
Registered: ‎04-01-2013
My Device: 9900
My Carrier: AT&T

Re: Personalized TitleBar

Thanks man! Appreciate it!