2015-07-21 86 views

回答

0

尝试实施https://github.com/afollestad/material-dialogs图书馆!这很简单。您可以创建所需的各种材质对话框。还有一个有用的文档

Material Dialogs 效仿谷歌材料设计的指导方针。

通过

dependencies { 
compile 'com.afollestad:material-dialogs:0.7.6.0' 
} 

安装并通过

new MaterialDialog.Builder(this) 
.title(R.string.progress_dialog) 
.content(R.string.please_wait) 
.progress(true, 0) 
.show(); 
实施