我在考虑进度条还是其他东西?安卓
我是 Android/Java/编程新手...
我不确定我是否正在研究正确的术语,但我希望我的应用程序上有一个没有动画的水平条。该栏将根据用户选择的按钮显示从 x 到 y 的静态数字。
ProgressBar 可以用作独立图形(如条形图)吗?我要研究的正确术语是什么?
已编辑添加...
我可以删除用户调整搜索栏的功能吗?
I am new to Android/Java/Programming...
I am not sure if I am researching the correct term, but I am looking to have a horizontal bar on my application with no animation. The bar will show a static number from x to y based on a selected button from the user.
Can a ProgressBar be used as a standalone graphic like a bar graph? What is the correct term for me to research?
Edited to add…
Can I remove the user functionality from being able to adjust the seekbar?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
进度条用于显示某些操作的进度,它使用了线程的概念。
在你的情况下,我认为你正在谈论seekbar,..可以通过适当的控件在应用程序中更改seekbar的值..例如onbuttonpress或编辑文本框中的值
The progress bar is used to show progress of some operation and it used the concept of threading.
In your case I think you are talking about seekbar ,.. the value of seekbar can be changed in the application through appropriate controls..e.g onbuttonpress or editing value in textbox
嗨,您正在寻找的实际上是一个搜索栏...
查看示例< /a>
hi what you are looking for is actually a seek bar...
Go through this for a sample
我认为您正在寻找 SeekBar。
SeekBar 是 ProgressBar 的扩展,添加了可拖动的滑块。用户可以触摸拇指并向左或向右拖动来设置当前进度级别或使用箭头键。
有关更多详细信息,请访问以下链接: link1 & link2
希望这能解决您的问题。
I think you are looking for SeekBar.
A SeekBar is an extension of ProgressBar that adds a draggable thumb. The user can touch the thumb and drag left or right to set the current progress level or use the arrow keys.
For more details go through these links: link1 & link2
Hope this will solve your issue.