I did something like this: <?xml version="1.0" encoding="utf-8"?> <resources> <style name="CupcakeDialog" parent="android:Theme.Dialog"> <item name="android:windowAnimationStyle">@null</item> </style> </resources>
and it worked just fine. Thanks for the help. Jeremy On Sep 17, 3:07 pm, Dianne Hackborn <hack...@android.com> wrote: > (That said... there is a bug that will be fixed after 1.6 where if you try > to start an activity from the onCreate/onStart/onResume of the first > activity in a task, and the next activity is using the dialog theme, then > the next activity wouldn't be displayed. You can probably work around this > by making a custom dialog theme that doesn't have any animations.) > > On Thu, Sep 17, 2009 at 3:05 PM, Dianne Hackborn <hack...@android.com>wrote: > > > > > On Thu, Sep 17, 2009 at 1:08 PM, niko20 <nikolatesl...@yahoo.com> wrote: > > >> You should never start another activity directly from your OnCreate. > > > That's not true. In fact there are many places where you want to start an > > activity here (or in onStart or onResume) to ensure that the next activity > > it shown before yours to avoid flicker. > > > -- > > Dianne Hackborn > > Android framework engineer > > hack...@android.com > > > Note: please don't send private questions to me, as I don't have time to > > provide private support, and so won't reply to such e-mails. All such > > questions should be posted on public forums, where I and others can see and > > answer them. > > -- > Dianne Hackborn > Android framework engineer > hack...@android.com > > Note: please don't send private questions to me, as I don't have time to > provide private support, and so won't reply to such e-mails. All such > questions should be posted on public forums, where I and others can see and > answer them. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---