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
3 answers

issue with progress bar with web view in android

i have developed an application that have one web view and one progress bar so i want to add functionality like show progress in progress bar of loading web page so how it implement i have code that i put here. public void onCreate(Bundle…
user2776223
0
votes
2 answers

How can I reset the Progressbar?

I just made a Countdowntimer and a Progressbar : public void button1_onClick (View view) { mCountDownTimer=new CountDownTimer(10000,1000) { @Override public void onTick(long millisUntilFinished) { Log.v("Log_tag", "Tick of…
user3339279
  • 163
  • 3
  • 12
0
votes
2 answers

My progressbar in webview returns null and crashes?

I am trying to add a progressbar to a webview class.However, even after following all steps correctly, it crashes with a null pointer exception, any idea why? Here's my mainactivity: public class MainActivity extends Activity { WebView webview; …
0
votes
4 answers

Android- show ProgressBar in Async task while sending images to the server

i am new to android. I'm trying to display a progress bar in aysnc Task while sending photos to the server, I want to make as many progressbar as files and those progressbar will change states according to percent of byttes sent to the server. I…
hellosheikh
  • 2,929
  • 8
  • 49
  • 115
0
votes
3 answers

Using progress bar with handler

Is there a way to use progress bar with handler? I have the code below and I would like to include a progress bar that would "count down" the delay until the next loop. (in this case 2000ms). private boolean started = false; private Handler handler…
Damijan
  • 183
  • 1
  • 2
  • 7
0
votes
2 answers

How to set background.png to be background of progress bar and progress to stretch and be part which is filling to max?

I have progress bar and I have two images background.png and progress.png. How to set background.png to be background of progress bar and progress to stretch and be part which is filling to max ? I have tried like…
Damir
  • 54,277
  • 94
  • 246
  • 365
0
votes
0 answers

android seekbar how to control thickness and thumb size

How can i increase seekbar thickness? I would like to have this horizontal line very thick plus have thumb with much bigger circle. (holo.light) Do I really have to create my own drabawbles? I hoped that changing only some attributes would be…
user2707175
  • 1,133
  • 2
  • 17
  • 44
0
votes
1 answer

Android - Horizontal Progress Bar not working while downloading file

I am working on a project and in that I am downloading a .pdf file when clicked on ListView and showing horizontal progress bar at the same time.. But, it stops at 1% and is not moving forward and also the file is not getting downloaded.. Please…
Mitesh Shah
  • 1,729
  • 2
  • 19
  • 37
0
votes
0 answers

progress fill on button click

I am looking to create a progress bar that shows on top of the button on click. Like this: http://tympanus.net/Development/ProgressButtonStyles/ Any idea how this could be done? Is their any existing library?
Jiyda Moussa
  • 925
  • 2
  • 9
  • 26
0
votes
2 answers

How to Show progrssbar in Android

I want to add progress bar to android project to show upload files. here is my code for upload images to server. postFile() is working fine. How to visible progress bar? I want to add progressbar here.pleas see this code in the class //Progrssbar …
Sajitha Rathnayake
  • 1,688
  • 3
  • 26
  • 47
0
votes
1 answer

How to use progressbar on android as an hp bar

I am building some small project, it's about a game I managed to use progress bar as my hp bar in the game. It works, however, without any animation on it. Here 'damage' is an integer which is the damage to the hp bar. and hpBar is the hp bar…
cshushu
  • 89
  • 1
  • 11
0
votes
1 answer

Get Android ProgressBar to fill remainder of TableLayout row

I'm trying to get an Android ProgressBar to horizontally fill the remaining space in a TableLayout. Its parent row seems to occupy the full width, but when I set the layout parameters to match_parent nothing happens. All I get is the same…
aardvarkk
  • 14,955
  • 7
  • 67
  • 96
0
votes
1 answer

Android implement progress bar when loading images

I am working on android app and i have a images slider in my app,now i want to when i click on my slider image,the images are display in another activity but it takes a little time while to open,now i want to implement and add a loading progress bar…
Farhan Shah
  • 2,344
  • 7
  • 28
  • 54
0
votes
2 answers

How to update ProgressBar when second time app loading with current upload percentage in Android

I'm trying to implement simple app which shows ProgressBar updating. Following are my main tasks. When app load first time and start ProgressBar uploading using AsyncTask it should display on UI (Done and working properly) While updating…
AnujAroshA
  • 4,623
  • 8
  • 56
  • 99
0
votes
3 answers

How to show horizental progressbar

I want to show Horizontal progress bar. In my code i do this with circle Progress bar. I need to show a horizontal Progress bar while searching the Text from a file. public void search(){ pd.setVisibility(View.VISIBLE); new…
M.ArslanKhan
  • 3,640
  • 8
  • 34
  • 56