Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SeekBar not setting actual progress. SetProgress() not working on early Android Versions [duplicate]

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.

This is what it looks like :

enter image description here

Any ideas on how to fix this issue ?

like image 551
CodePrimate Avatar asked Apr 23 '12 10:04

CodePrimate


1 Answers

Try to set max value first and then set the progress.

like image 108
David Avatar answered Oct 16 '22 05:10

David