2015-08-18 27 views
0

我想创建一个加载程序(进度)视图像谷歌+。你能推荐一个简单的方法来做到这一点?下面的画面是:加载程序喜欢谷歌+

Loader of google+

+0

看看http://examples.javacodegeeks.com/android/core/ui/progressdialog/android-progressdialog-example/ – Mugen

回答

0

在您的出入境活动onCreate

  1. 创建和显示ProgressDialog
  2. 创建AsyncTask
  3. 把你的加载代码中的doInBackground方法你的任务
  4. 关闭ProgressDialogonPostExecute你的任务