http://stackoverflow.com/questions/1583237/androidui-related-questions

"I am not aware of an API to change the position of a dialog. You may
be better served creating an activity and using
android:theme="@android:style/Theme.Dialog" to make it look like a
dialog.

If you go that route, you will then be able to use all of the standard
techniques for placing widgets (e.g., images) wherever you like." -
commonsware


On Nov 2, 8:34 am, Mina Shokry <minasho...@gmail.com> wrote:
> Hello,
>
> I have an alert dialog which I got using AlertDialog.Builder
> (context).create(). When I call alertDialog.show(), it appears
> centered on screen (horizontally and vertically).
>
> Can I control its position? for example, I want to make it appear on
> top of screen to still show its parent window.
> How could this be done?
>
> thanks in advance.

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to