显示ProgressBarIndeterminate

显示ProgressBarIndeterminate

我如何显示ProgressBarIndeterminate(或使用它们)

requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
setSupportProgressBarIndeterminateVisibility(true);


Fragment/SherlockFragment中(不是SherlockFragmentActivity)?

最佳答案

getActivity.setSupportProgressBarIndeterminateVisibility(true);




getActivity().requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);

08-26 01:49