Need help with a SeekBar...

Discussion in 'Android Hacks and Help' started by patrick848, Aug 10, 2011.

  1. patrick848

    patrick848 New Member

    Jan 9, 2011
    Likes Received:
    Trophy Points:
    I've been working on an application that will use a seekbar to select the percentage of a number to be split up into a category. Of course the maximum is going to be 100%, and I have a seekbar created to do that. The only problem is that I can't figure out how to show the current percent of the seekbar right underneath it. I tried using getProgress(), but I don't really know why it's not working... I have some screenshots of the app here on my website. Hopefully some of you have worked with SeekBars and could maybe help me out with an example of one? I've been looking all over on the internet and can't quite find what I'm looking for...

    ****** Nevermind, I finally got it. As soon as I stopped using getProgress(), it started working... I just used the progress argument in the method onProgressChanged. Cleaner. Hopefully this post helps someone! ******
    #1 patrick848, Aug 10, 2011
    Last edited: Aug 11, 2011
Search tags for this page

android seekbar can't reach max


android seekbar not showing up


how create android percent seekbar