try using setTheme for the context in the AlertDialog.Builder(Context
context)

-Dan

On Mon, Mar 16, 2009 at 5:58 AM, Rafael Bocaletto Maiolla <
[email protected]> wrote:

>
> Hi,
>
> Is there a way to change the Alert Dialog style, like background and
> font color using something like
>
> <?xml version="1.0" encoding="utf-8"?>
> <resources>
> <style name="Theme" parent="android:Theme">
> </style>
> <style name="Theme.Dialog">
>        <item name="android:colorBackground">#FF0000</item>
>        <item name="android:colorForeground">#00FF00</item>
> </style>
> </resources>
>
> in the styles.xml?
>
> If so, what do I need for this to work?
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to