ProgressBar:
java.lang.Object | ||
↳ | android.view.View | |
↳ | android.widget.ProgressBar |
原意:
Visual indicator of progress in some operation. Displays a bar to the user representing how far the operation has progressed; the application can change the amount of progress (modifying the length of the bar) as it moves forward. There is also a secondary progress displayable on a progress bar which is useful for displaying intermediate progress, such as the buffer level during a streaming playback progress bar.
译文:
可视指示器在某些操作的进度。显示用户代表在操作多远进展吧;应用程序可以改变的进展(修改的条的长度)的款项,因为它前进。还有一个次要的进展进度条显示的是在流媒体播放进度条的中间进步,如缓冲区的有用显示的。
代码示例:
演示效果: