Can you please tell me where I can the layout xml file for the AlertDialog? I try to do a 'grep for 'alert1' in all the files in the source tree, it does not return anything.
Thanks for tips. On Sun, Mar 22, 2009 at 11:56 AM, Dianne Hackborn <hack...@android.com> wrote: > The layout is an xml file, and an implementation detail. If you want to > have your own kind of alert dialog, just subclass from Dialog and make it > yourself. Given how customizable AlertDialog is (with the ability to stick > in your own layouts and such), I think trying to do something beyond what it > supports is probably best done as just a custom dialog. > > On Sat, Mar 21, 2009 at 11:56 PM, Lucius Fox <lucius.fo...@gmail.com> wrote: >> >> Hi, >> >> How is android's AlertDialog layout define? Is there a layout.xml file >> corresponding to the AlertDialog? >> I have looked at AlertDialog implementation, But i don't figure out >> how that is being layout (e.g. the location of the button, the >> location of text) Where are they defined? And how can I change that? >> >> Thank you. >> >> > > > > -- > 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. 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 -~----------~----~----~----~------~----~------~--~---