80,471
社区成员




<ProgressBar
android:id="@+id/bar"
style="?android:attr/progressBarStyleSmall"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_marginTop="20sp"/>
Bar = (ProgressBar) this.findViewById(R.id.bar);
Bar.setVisibility(1)
?
1是什么?
你应该用View.INVISIBLE
View.GONE