hap497
hap497

Reputation: 163225

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 application but user can't move the bar in the Progress bar to change value?

Upvotes: 0

Views: 408

Answers (1)

Duane
Duane

Reputation: 710

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.

Upvotes: 3

Related Questions