我真的是 android 的新手我正在做一个与 webservice(xml) 连接的应用程序,它运行良好,但我的应用程序加载屏幕时视图不完整,然后显示数据。当所有数据都从服务器下载并显示后,我想实现一个“准备就绪”对话框。
谢谢你的帮助
我真的是 android 的新手我正在做一个与 webservice(xml) 连接的应用程序,它运行良好,但我的应用程序加载屏幕时视图不完整,然后显示数据。当所有数据都从服务器下载并显示后,我想实现一个“准备就绪”对话框。
谢谢你的帮助
From http://developer.android.com/guide/topics/ui/dialogs.html#ProgressDialog
ProgressDialog progressDialog= ProgressDialog.show(MyActivity.this, "",
"Loading. Please wait...", true);
progressDialog.dismiss(); // for close the dialog bar.