如何显示 ProgressBarIndeterminate (或使用这些)
requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
setSupportProgressBarIndeterminateVisibility(true);
在Fragment/SherlockFragment
(不是 SherlockFragmentActivity)中?
如何显示 ProgressBarIndeterminate (或使用这些)
requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
setSupportProgressBarIndeterminateVisibility(true);
在Fragment/SherlockFragment
(不是 SherlockFragmentActivity)中?
getActivity.setSupportProgressBarIndeterminateVisibility(true);
和
getActivity().requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
您不能调用requestWindowFeature
. Fragment
要将内容设置为 aFragment
您需要覆盖onCreateView()
并返回View
您Fragment
应该显示的内容。
可能您应该阅读更多内容Fragments
。