SeekBar does not establish actual progress. SetProgress () does not work in early versions of Android

I have an application in which I want to set the progress of a specific SeekBar based on the value obtained from the web service. However, when I use SetProgress (int), only the "seeker" SeekBar is set. The bar does not get "filled" as expected.

It looks like this:

enter image description here

Any ideas on how to fix this?

+3
source share
2 answers

First try setting the maximum value, and then set the progress.

+4
source

Turns out this is a bug in Android. See also:

http://code.google.com/p/android/issues/detail?id=12945

Android SeekBar setMax

progressBar /

- setMax (0), setMax (max), setProgress().

+3

All Articles