You can do the following in the constructor of a Dialog subclass:

getWindow().getAttributes().y = 30;

to move the dialog 30 pixels down. This movement is relative though.


On Apr 20, 3:55 pm, Nithin <[email protected]> wrote:
> I can use "android.widget.PopUpWindow" class, but it has sharp edges
> in the corners, I need like in Dialog, rounded edges. Is it possible
> in PopUpWindow or can we put the dialog to the Bottom.
>
> Nithin
>
> On Apr 20, 2:14 pm, Nithin <[email protected]> wrote:
>
> > Hi,
>
> > The dialog("android.app.Dialog") normally pops up in the center of
> > screen. Can we make the dialog to come in the bottom of screen.
>
> > Nithin
>
> > --
> > 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 
> > athttp://groups.google.com/group/android-developers?hl=en
>
> --
> 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 
> athttp://groups.google.com/group/android-developers?hl=en

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