views:

78

answers:

1

How can I make a ProgressBar in Android not changeable by user. I don't mean 'disabled', since my application will update it dynamically. I would like the ProgressBar to update by my application but user can't move the bar in the Progress bar to change value?

+3  A: 

Check your layout xml and code to make sure that you are using the ProgressBar widget and NOT the SeekBar widget.

SeekBar looks like the Progress bar but is user modifiable.

Have a look at this ProgressBar example from the ApiDemos for reference.

Duane