Skip to content

Commit

Permalink
Update README.zh.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pedant committed Dec 4, 2014
1 parent 4b930db commit 84790b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,12 @@ Android版的SweetAlert,清新文艺,快意灵动的甜心弹框
## 如何开始
显示Material进度样式

SweetAlertDialog pDialog = new SweetAlertDialog(this, SweetAlertDialog.PROGRESS_TYPE)
SweetAlertDialog pDialog = new SweetAlertDialog(this, SweetAlertDialog.PROGRESS_TYPE)
pDialog.setTitleText("loading...");
pDialog.setCancelable(false);
pDialog.show();

你可以通过**SweetAlertDialog.getProgressHelper()**调用materialish-progress中下面这些方法,来动态改变进度条的样式

- resetCount()
- isSpinning()
- spin()
Expand All @@ -66,6 +65,7 @@ Android版的SweetAlert,清新文艺,快意灵动的甜心弹框
- setSpinSpeed(float spinSpeed)

感谢[materialish-progress](https://github.com/pnikosis/materialish-progress)项目以及[@croccio](https://github.com/croccio)的参与。

更多关于进度条的用法,请参见样例代码。

只显示标题:
Expand Down

0 comments on commit 84790b5

Please sign in to comment.