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

Posts: 238
Registered: ‎12-26-2010
My Device: BlackBerry Z10
My Carrier: Telus
Accepted Solution

Changing Color of TitleBar

Hi, is there any way to change the TitleBar color via QML? I want to achive gradient color titlebar, pretty much like Twitter or Foursquare..


Thanks a bunchhhhhhhhhhhhhhhhhhhh

Posts: 614
Registered: ‎10-17-2010
My Device: (BlackBerry Z10)-> Q10/Passport Dual Use

Re: Changing Color of TitleBar

[ Edited ]

EIther FourSquare/Facebook is using a newer version of the SDK which enables visual control of the TitleBar Cascades component (since current implementation does not allow for customizations beyond properties specified in the docs) or, the most likely scenario, they are making their own custom "TitleBar" using a combination of the following components.







And let's say you have a custom spinner or animation you want to play when your user interacts in someway with your custom TitleBar. You would use animations[] handler attached to an ImageView{} component


That is how you basically would make the custom view. 
This would be a great post for The Cascades Blog™

Posts: 1,746
Registered: ‎04-08-2010
My Device: Passport Silver, PRIV
My Carrier: Telekom.de, O2, Vodafone

Re: Changing Color of TitleBar

there's already an Issue reported by me, please vote for BBTEN-207

ekke (independent software architect, rosenheim, germany)

BlackBerry Elite Developer
BlackBerry Platinum Enterprise Partner
International Development native Mobile Business Apps
BlackBerry 10 | Qt Mobile (Android, iOS)
Workshops / Trainings / Bootcamps

blog: http://ekkes-corner.org
mobile-development: http://appbus.org Twitter: @ekkescorner
Posts: 238
Registered: ‎12-26-2010
My Device: BlackBerry Z10
My Carrier: Telus

Re: Changing Color of TitleBar

Cool. Thanks!!!!

New Developer
Posts: 18
Registered: ‎11-13-2012
My Device: Z10, q10
My Carrier: freelancer

Re: Changing Color of TitleBar

i'm guesing that they are not uing cascades.

Changing titlebar is easy task in bbui and thats how its look like for me