[android-developers] Re: Changing foreground or background color of title text of a Dialog

2009-02-09 Thread Chander Pechetty
The Dialog inherits the Theme that you set for the Activity. usually it shows up white text on black for Theme.Light. Changeitem name=android:textColor@drawable/solid_black/item to someting lighter. maybe- @android:color/white Cheers Chander

[android-developers] Re: Changing foreground or background color of title text of a Dialog

2009-02-09 Thread Chander Pechetty
You can also set the theme, in your style.xml style name=myCoolDialog parent=android:Theme.Dialog item name=android:windowBackground@drawable/blue/item item name=android:colorForeground#f0f0/item /style Then in your Dialog subclass use the constructor which takes a theme..

[android-developers] Re: Changing foreground or background color of title text of a Dialog

2009-02-09 Thread Inderjeet Singh
That did it. Thank you very much! On Mon, Feb 9, 2009 at 2:56 AM, Chander Pechetty cspeche...@gmail.com wrote: You can also set the theme, in your style.xml style name=myCoolDialog parent=android:Theme.Dialog item name=android:windowBackground@drawable/blue/item item