I don't really understand what you want to do here. If you want a view with an EditText area and a couple of Buttons, just create a view with those things in them.
I'm not sure why this needs to be an AlertDialog. The AlertDialog is really just a convenience class for for creating a common type of view. I haven't looked at the Browser source, but my guess is that its not using the AlertDialog class, it creating its own view that just looks similar. Cheers, Justin Android Team @ Google On Aug 22, 10:37 am, webmonkey <[EMAIL PROTECTED]> wrote: > Hello Justin, > > Thanks for your response, but I already checked these samples and I > know how to build dialogs using the AlertDialog class. The thing is, I > usually call AlertDialog inside an existing activity, for example to > create a delete confirmation dialog. But now I want the entire > activity to be the dialog. ( so I can handle an ACTION_EDIT intent > that works on my custom content provider ) > > From the logs, I can tell that the Browser app calls a separate intent > to add a bookmark, but the entire bookmark activity is displayed as a > dialog, complete with title and buttons panel. How do I do this? > > I hope you understand what I am trying to achieve. > > Thanks > > On Aug 22, 7:09 pm, "Justin (Google Employee)" <[EMAIL PROTECTED]> > wrote: > > > APIDemos > App > Dialog > > > Cheers, > > Justin > > Android Team @ Google > > > On Aug 22, 9:36 am, webmonkey <[EMAIL PROTECTED]> wrote: > > > > How do I create a dialog activity that looks exactly the same as when > > > you build a dialog with the AlertDialog class, including the buttons > > > panel at the bottom. > > > > Basically, I want the same sort of activity that you get when you add > > > a Bookmark in the Browser app. > > > > I checked the APIDemos > Activity > Dialog sample but it is missing > > > the panel with the buttons. > > > > Thanks- Hide quoted text - > > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---