搜索栏不设实际进展。 SetProgress()不工作早期的Android版本 [英] SeekBar not setting actual progress. SetProgress() not working on early Android Versions
本文介绍了搜索栏不设实际进展。 SetProgress()不工作早期的Android版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个应用程序,我想设置基于从Web服务中检索值的特定搜索栏的进度。然而,当我使用SetProgress(INT)仅搜索栏的寻被设定。酒吧没有得到装出来的预期。
I have an app where I want to set the progress of a specific SeekBar based upon a value retrieved from a web service. However when I use SetProgress(int) only the "seeker" of the SeekBar gets set. The bar does not get "filled" out as expected.
这是什么样子:
如何解决此问题的任何想法?
Any ideas on how to fix this issue ?
推荐答案
尝试,然后设置最大值设置进度。
Try to set max value first and then set the progress.
这篇关于搜索栏不设实际进展。 SetProgress()不工作早期的Android版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文