When my activity is creating, I use setProgressBarVisibility(true) to show my ProgressBar.
I download images from the web.
When all my images are downloaded, I want to hide my progressBar but setProgressBarVisibility(false) makes no difference.
Using java Syntax Highlighting
- @Override
- public void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- ...
- setProgressBarVisibility(true);
- }
- public void imagesInitialize() {
- setProgressBarVisibility(false);
- }
Parsed in 0.031 seconds, using GeSHi 1.0.8.4
Using xml Syntax Highlighting
- <ProgressBar android:id="@android:id/progress"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_x="138px"
- android:layout_y="160px" />
Parsed in 0.001 seconds, using GeSHi 1.0.8.4
Is somethink wrong?



