我将尝试使用ContentLoadingProgressBar实现水平不确定样式的进度条。以下是xml布局:
进度条以空的水平线形式呈现,没有任何进展。 通过设置
循环不定进度显示正常。我错过了什么,我甚至尝试过 。
仍然没有运气。
<android.support.v4.widget.ContentLoadingProgressBar
android:id="@+id/pbar_Cloud"
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="match_parent"
android:layout_height="10dp"
android:layout_gravity="bottom"
android:visibility="visible" />
进度条以空的水平线形式呈现,没有任何进展。 通过设置
style="?android:attr/progressBarStyleLarge"
循环不定进度显示正常。我错过了什么,我甚至尝试过 。
ContentLoadingProgressBar bar = (ContentLoadingProgressBar) findViewById(R.id.pbar_Cloud);
bar.setActivated(true);
bar.show();
仍然没有运气。