Use Theme.Dialog for your activity's theme, and just put your dialog
contents inside of it instead of in a separate Dialog window.

On Thu, Apr 9, 2009 at 12:41 PM, droozen <droozenr...@gmail.com> wrote:

>
> I want to expose a portion of my app with an intent that will only
> display a simple dialog box for system setting. The only way I
> currently know how to do this is to have an activity that accepts an
> intent. In the activity I don't use setContentView. I only create and
> show the dialog. The activity is finished after you press OK from the
> dialog.
>
> This is kind of okay, but the activity shows as a black backdrop under
> the dialog, until you press OK which brings you back to the last
> application. I'd like to just be able to show the dialog on top of the
> calling Activity. Any idea on how this can be done? CAN it be done?
> >
>


-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to