Android7.0中文API -- ProgressBar
来源:互联网 发布:淘宝拍图技巧 编辑:程序博客网 时间:2024/06/05 07:18
完整内容,请参考:http://www.zhdoc.net/android/reference/android/widget/ProgressBar.html
ProgressBar
public class ProgressBar
extends View
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.
在某些操作中,显示一个进度条的指示器。向用户显示一个表示操作已经完成的进度的条;应用程序可以改变进度(修改条的长度),使其向前移动。在进度条上也有一个次级进度显示,它对于显示中间进度很有用,例如在流播放进度条中缓冲了多少。
A progress bar can also be made indeterminate. In indeterminate mode, the progress bar shows a cyclic animation without an indication of progress. This mode is used by applications when the length of the task is unknown. The indeterminate progress bar can be either a spinning wheel or a horizontal bar.
进度条也可以不确定。在不确定模式下,进度条显示为一个环形的动画,并且没有进度指示器。当不知道任务的长度时,应用程序将使用该模式。不确定的进度条,可以是一个圆环或一个水平条。
The following code example shows how a progress bar can be used from a worker thread to update the user interface to notify the user of progress:
下面的代码示例展示了如何从工作线程中使用进度条来更新用户界面,以通知用户进度:
完整内容,请参考:http://www.zhdoc.net/android/reference/android/widget/ProgressBar.html
- Android7.0中文API -- ProgressBar
- Android7.0中文API---ImageButton
- Android7.0 中文API -- ZoomButton
- Android7.0中文API --- ImageView
- Android7.0中文API -- ListView
- android7.0中文API -- LinearLayout
- Android7.0中文API -- TableLayout
- Android7.0中文API -- TableRow
- Android7.0中文API -- ZoomControls
- Android7.0中文API -- TabWidget
- Android7.0中文API -- ActionMenuView
- Android7.0中文API -- RadioGroup
- Android7.0中文API -- SearchView
- Android7.0中文API -- SeekBar
- Android7.0中文API --- AbsSeekBar
- Android7.0中文API -- RatingBar
- Android7.0中文API -- Spinner
- Android7.0中文API -- AbsSpinner
- JavaScript立即执行函数的解释分析(1)—表达式与语句的区别
- linux下如何添加一个用户并且让用户获得root权限
- androidstudio如何 clean项目
- 译码器
- php入门学习-----函数
- Android7.0中文API -- ProgressBar
- android控件03---EditText
- 开发者所需知道的iOS11 SDK新特性
- [LeetCode]Arithmetic Slices
- 一个GISER 6.7的祝福
- awk(一)
- Spark源码学习笔记(随笔)-groupByKey()是宽依赖吗
- win7系统重启后ip地址丢失怎么办
- 究竟啥才是互联网架构“高并发”