标签:
final ProgressDialog ps = ProgressDialog.show(MainActivity.this, "搜索网络", "请等待..."); new Thread(){ @Override public void run() { try { sleep(11000); } catch (Exception e) { // TODO: handle exception } finally{ ps.dismiss(); } } }.start(); ps.show();
标签:
原文地址:http://www.cnblogs.com/84126858jmz/p/4885945.html