01-24-2013 09:48 AM
Is there any possibility to create an UI similar to BlackBerry Hub application?
I with to have a clickable TitleBar with a DropDown emulation, where I could put my own controls. Currently I haven't found any suitable solutions. The closest one is just using a regular DropDown controls, but this one can't be branded unfortunatelly.
01-24-2013 02:09 PM
01-24-2013 03:12 PM
itsaboutcode - yes, that is exactly the control I would like to add to my application.
Any idea, how I could achieve it?
The regular TitleBar doesn't support drop-down kind, only segmented. At the same time I am pretty sure, it's impossible to override drawing of DropDown control to make it look like that.
01-24-2013 03:15 PM - edited 01-24-2013 03:17 PM
You would need a custom control. As you can guess, that particular control would be very hard to genericize enough to be useful to more than a small minority of developers.
So, they gave us a way to write our own custom components! https://developer.blackberry.com/cascades/document
While not the control you're looking for, the Speed Writer sample on Github shows how custom controls work.