开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜