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
Posts: 238
Registered: ‎12-26-2010
My Device: BlackBerry Z10
My Carrier: Telus

AlertDialog is not Affected by ThemeGlobals.BLACK

Hi all,

I have set my application to use the dark theme.

 

ThemeGlobals.currentTheme = ThemeGlobals.BLACK;

 

Everyother fuse control like buttons has turned black, but the AlertDialog stays WHITE..

 

Any workaround on this problem??Thank you

www.jackdevora.com
New Developer
Posts: 7
Registered: ‎03-02-2012
My Device: Storm 9530, Curve, Playbook
My Carrier: Airtel

Re: AlertDialog is not Affected by ThemeGlobals.BLACK

Are you working with BB10 or Playbook ?
AlertDialog, or BaseDialog is governed by the system and is not extendable by any class override or Theme Change.
Make another sprite object to mimic the AlertDialog instead of calling the native one and skin it as per your needs.