显示在标题上的进度条

若显示带进度的进度条:

1 requestWindowFeature(Window.FEATURE_PROGRESS);

2 setProgressBarVisibility(true);

3 setProgress(10); 

 

若显示不带进度的进度条:

1 requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);

2 setProgressBarIndeterminateVisibility(true);

posted @   月轩  阅读(229)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示