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

Java Development

Reply
Contributor
shafi_vjp
Posts: 15
Registered: ‎08-20-2010
My Device: Bold 9700
My Carrier: idea

How to set background of the default datetimepicker blackberry

Hi all,

 

The default background color of DateTimePicker provided by blackberry is Black. I want to change this background color to the theme of my app, which is Light blue.

 

How can i achieve this? Please help.

Please use plain text.
Developer
BB-Dude
Posts: 516
Registered: ‎07-23-2010
My Device: 9900

Re: How to set background of the default datetimepicker blackberry

Did you try to override the paint method? Also do you have access to the BlackBerry Theme Color?

Please use plain text.
Contributor
shafi_vjp
Posts: 15
Registered: ‎08-20-2010
My Device: Bold 9700
My Carrier: idea

Re: How to set background of the default datetimepicker blackberry

You cannot override any of its methods as Its a factory method.
Please use plain text.
Contributor
shafi_vjp
Posts: 15
Registered: ‎08-20-2010
My Device: Bold 9700
My Carrier: idea

Re: How to set background of the default datetimepicker blackberry

What is Blackberry theme color? Havent heard of it.How can we access it?
Please use plain text.
Developer
BB-Dude
Posts: 516
Registered: ‎07-23-2010
My Device: 9900

Re: How to set background of the default datetimepicker blackberry

SOrry I miss read your first post. I thought you were looking for the BlackBerry Theme Color. Ignore my first response.

Please use plain text.