Questions tagged [android-progressbar]

Android's ProgressBar widget displays visual work-in-progress indication to the user. A determinate progress bar displays how far the operation has progressed. An indeterminate progress bar just displays that work is being done.

Android's ProgressBar widget displays visual work-in-progress indication to the user. A determinate progress bar displays how far the operation has progressed. An indeterminate progress bar just displays that work is being done.

Android ProgressBar is often used in a Dialog using ProgressDialog.

ProgressBar has following different styles

1648 questions
0
votes
1 answer

Constant value android ProgressBar without thread and handlers

I want to implement constant value android ProgressBar without use thread and handlers. Whenever I search related examples it uses thread and handlers, and without use of thread, handlers OR AsyncTask it doesn't work. My requirements is to show…
naeemgik
  • 2,232
  • 4
  • 25
  • 47
0
votes
1 answer

ProgressDialog and AsyncTask at abnormal behavior fails

I have a AsyncTasc which turns of ProgressDialog, all works great, but after some time of abnormal behavior app fails. I know, that user will never behave so. But for good testing is necessary to try all. Code: import android.os.AsyncTask; import…
Bullman
  • 318
  • 1
  • 4
  • 13
0
votes
1 answer

How to resize drawable items(images) in progress bar when doing custom animation?

I have a list view, which contains an icon, a title and a subtitle. My boss asks me that he wants to change that icon into something animation. When he mean animation, it is just display three images continues, makes it look like animation. I…
0
votes
1 answer

showing Progressbar when service is active

I have a service which starts from a broadcast and will run and import the vcards . I would like to show a progressbar if the service is still running when the user opens the app which has this service . and dismiss the progress bar once the service…
Rohit Walavalkar
  • 790
  • 9
  • 28
0
votes
2 answers

Android: how to add Progressbar to BitmapWorkerTask?

Here is my BitmapWorkerTask to load image to a ViewPager. I'm trying to add a Horizontal ProgressBar to each page for better UX showing the progress of image's loading. (I've already been using a 'indeterminate' circle progress bar.) Is the…
0
votes
1 answer

How to cancel Asynch task in below case

Basically I have three function which execute three different queries and shows the list upon OnSelection of corresponding radio button. Before doing a database operation PreExecute() I hide list container and display progress bar spinning and on…
sandeep_jagtap
  • 1,484
  • 2
  • 17
  • 24
0
votes
1 answer

FindViewById returning null (ProgressBar)

I searched a lot on StackOverflow and, in several comments is recommended to clean the project to solve this issue, the problem ocours in asynctask class inside Adapter, so: removed the project from eclipse, directories (gen / bin) and imported…
elirigobeli
  • 1,391
  • 2
  • 15
  • 22
0
votes
1 answer

Switching between ActionBar.Tabs issue

I have implemented application which downloads data from web and then shows it in two ActionBar.Tabs. I have one issue with it. If I switch from one tab to other one, application starts another download and while download is not finished, the app…
0
votes
1 answer

Fragments with header and download content

my first question here... so sorry for duplicates, but i didn't find an answer at all =( I'm trying to create an app with 3 pages. Main page - list of videos Bookmark page - list with all videos bookmarked settings page - settings and stuff I first…
0
votes
2 answers

Progressbar with two colours

I have an application with questions and want to show a progress bar to show how many questions that are left/answered. I would like to have the colour of the progress bar green if the question was correct answered and red if the answer was…
EirikO
  • 617
  • 8
  • 19
0
votes
2 answers

My ProgressBar won't show while loading my WebView, why?

I have created a WebViewActivity extending Activity and showing a WebView inside of my app instead of redirecting to the browser. So I tried to use AsyncTask to show my ProgressBar while the view is loading. But the progress bar doesn't display at…
0
votes
1 answer

How to use the listView.setEmptyView()?

I want to add a progress bar in a listview when the list loads and if there are no results after the loading is finished I want to add a textVeiw saying the list is empty using the setEmptyView function. I tried using this code to add a progress…
user1796624
  • 3,665
  • 7
  • 38
  • 65
0
votes
1 answer

Progress Bar with Specific Value

I want to design and implement a progress bar. But i have some problems. My progress bar layout like this
hakki
  • 6,181
  • 6
  • 62
  • 106
0
votes
4 answers

Android how to do setProgressBarIndeterminateVisibility(false) from another class?

I have two class, one show images and the next only load images in background, but the problem is that the second class need to do setProgressBarIndeterminateVisibility(false) from the first class, and I dont know ho to do it. My first…
sergio
  • 243
  • 1
  • 2
  • 11
0
votes
1 answer

Put image on progressbar in android

I want to superimpose image of different color on my progress bar depending on the progress percentage. I putted the image on right position and set it invisible initially and setting it visible depending on condition. Problem is that image is not…
Ankit HTech
  • 1,863
  • 6
  • 31
  • 42
1 2 3
99
100