I ended up setting the Theme in the constructor for my dialogs.  This
isn't my favorite solution but I haven't seen a better one yet.  It
seems to be either that or have the invoking method pass in the theme
on the constructor, which I really don't care for.

On Jul 16, 12:10 pm, Robert Green <[email protected]> wrote:
> Surely there is a good solution for this.  Anyone?
>
> On Jul 15, 1:10 pm, Robert Green <[email protected]> wrote:
>
> > I use themes in my apps, which generally just extend android:Themeand
> > then set a bunch of styles.
>
> > I use dialogs made from layouts, but since I set thethemefor the
> > application, they have inherited all of the regular styles and no
> > longer carry a border, etc.
>
> > My question is:  How do I say, "I want everything to use thistheme
> > which extendsTheme, except dialogs, which should use this othertheme
> > that extendsTheme.Dialog"  ?  It seems like that's how things work by
> > default but when you set thethemeto your own, you lose thedialog
> >theme!
>
> > Thanks for any help!
>
>
--~--~---------~--~----~------------~-------~--~----~
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