Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

0 votes
1 answer
770 views

How to set progress bar visibility to invisible once data comes from a server and appears on listview?

I want to set the progress bar visibility to invisible once data comes from my server and display in a listview. Here is my code public class MainActivity extends AppCompatActivity implements ...
peter Estifanos's user avatar
2 votes
1 answer
42 views

ProgressBar does not appear in WebView located in Fragment ,how to show ProgressBar in WebView android?

Whenever, I enter the fragment, I am shown a blank space for a few seconds, then the webpage in the WebView shows up. It seems that the ProgressBar does not show. Here's my XML file for the Fragment ...
digdigdoot's user avatar
0 votes
0 answers
217 views

Getting setVisibility to Work in a Fragment

I can't get the ProgressBar to become invisible. I have tried the following based on other StackOverFlow Q&As, without success: adding clearAnimation() method calling the progressbar with a ...
The Fluffy T Rex's user avatar
0 votes
2 answers
614 views

Progress Bar does not go after completion

I am using a horizontal Progress Bar. It works fine but does not disappear after completion of time. progressBar = (ProgressBar) findViewById(R.id.progressBar1); progressBar.setRotation(180); new ...
TeeKay's user avatar
  • 1,055
0 votes
1 answer
4k views

Progress Bar set visible on each page of ViewPager

I have a viewpager that loads the images selected by the user from gallery. At the last page of that viewpager, I have an upload button. The button is supposed to load the images in viewpager to a ...
Mimi Itani's user avatar
0 votes
1 answer
2k views

Change Visibility with CheckBox - Android

I want to change the visibility of the ProgressBar according to the checked CheckBoxes , but when I implement the following code, the ProgressBar goes invisible forever ProgressBar progressBar1 = (...
Registered User's user avatar
0 votes
1 answer
947 views

Android progress bar setvisible not working

I have problem in seting visibility of Progressbar in a AsyncTask this is my code: public class DownloadImageTask extends AsyncTask<String, Void, Bitmap> { ImageView IV; FullImageActivity MA; ...
Hamidreza Sadegh's user avatar
3 votes
4 answers
7k views

Android - Can't hide progress bar

So I've checked the other questions to hide a progress bar but all seem to suggest doing what I'm already doing. I'm trying to use mProductListProgressBar.setVisibility(View.GONE); and I'm finding ...
Russ Wheeler's user avatar
  • 2,610
1 vote
1 answer
2k views

How to Disable control till Progress Bar is active

I have kept progressbar visibility to invisible from xml. Its respective activity have a Asynch Task when in onPreExecute its visibility is turn out to visible and invisible in onPostExecute. All ...
Varun Vishnoi's user avatar
0 votes
2 answers
848 views

ProgressBar ontop of TableLayout

I'm trying to put my ProgressBar ontop of a TableLayout. Code: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:...
user2177234's user avatar
-1 votes
1 answer
309 views

Load Bitmap with AsyncTask onPostLoad

I have a set of buttons and i want them to be visible only when the image is loaded..and the progressbar to hide,how can i do that..whenever use onPreExecute() or write buttonname.setVisibility(View....
Sushant Sharma's user avatar
5 votes
1 answer
4k views

Does LinearLayout with visibility GONE consume zero resources?

I was thinking about how to implement an ImageView that shows an image and while I'm refreshing its content with a new image it shows a "Loading..." text with a circular ProgressBar on the right, so I'...
Gianni Costanzi's user avatar