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 <[email protected]> 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
[email protected]

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