I noticed that many people looking for the answer to same question however they always have different results and incomplete, I would like help from someone explain as simple as possible to help all users.
I will start programming an android now and wanted help, is as follows:
I have a TextView with id = value
and one SeekBar with id = seekbar.
Wanted the seekbar 0-200 than 1 in 1, showing the values in TextView.
And to correct the problem of sensitivity was wondering how to put two buttons + and – to increment or decrement a.
I thank you on behalf of all my college class.
You should have read the documentation before asking such a generic question. Indeed, I would like to answer to this question in layman terms. Just think about seekbar as a simple sensor. It can fire events like onProgressChanged(). Means, the interface for seekbar can tell us when the seekbar progress is changed. Thus, we can do some operations inside the callbacks provided by Android. So take a look at the code and see this is what you are looking for. This is a test application I have created for this question.
And this is the XML used for this application
Feel free to ask if you have any doubt on this code.
By the way, this is not a code generating forum! Seems like I’m breaking one of the SOF terms… 🙂