设置Android Dialog位置

sat*_*ine 7 user-interface android location dialog positioning

我希望我的Android对话框和/或警报有时在屏幕的最顶部对齐,而不是简单地在中心.这可能吗?给出精确的xy坐标怎么样,这可能吗?