Android Positioning Progress Dialog or Custom Progress Dialog

I don't know how to position the progress dialog(the one with the rotating image). When my application starts its display an full screen image and a progress dialog box. I need to moved the progress dialog box a little lower.

Thanks Rajesh


我已经尝试过这一个,并工作:

ProgressDialog dialog = new ProgressDialog(this);
dialog.getWindow().setGravity(Gravity.BOTTOM);

我做了类似的事情,我发现构建一个扩展显示图像和Progress微调的Dialog的类更容易。

链接地址: http://www.djcxy.com/p/44996.html

上一篇: 实现Web API请求限制/速率的常用方式是什么?

下一篇: Android定位进度对话框或自定义进度对话框