ProgressBar not changeable by user
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 appl开发者_JAVA技巧ication but user can't move the bar in the Progress bar to change value?
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.
精彩评论