开发者

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 fu开发者_StackOverflow社区ll screen image and a progress dialog box. I need to moved the progress dialog box a little lower.

Thanks Rajesh


I've tried this one and works:

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


I do a similar thing and I found that it was just easier to build a class that extends Dialog that shows the image and the Progress spinner.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜