Possible Duplicate:
Show AlertDialog in any position of the screen
As you know Default Dialog has got Gravity properties like Right, Top etc. but is it possible to place Dialog where user touches screen other than default gravity properties? 
Using tapped x and y coordinates from onTouch(...) method or something like that, is it possible?
Say for example, I touched (50, 50) x and y coordinates on screen, may not be exactly at that same position but anywhere near to that touched point.