I want to set up a slider bar in my Android application, but with very fine control. I have the following code to define bar and its range:
skBar = new SeekBar (this);
skBar.setBackgroundColor (TRANS_BLUE);
skBar.setMax (2000);
skBar.setMinimumHeight (20);
skBar.setProgress (origOffset);
I'm setting the bar up programmatically, because I need the application to continue working while the user adjusts it, but I really don't think that's the problem. The problem is that the slider seems to be moving in increments of at least 10. Obviously, I could very well be bumping up against limitations of the hardware (I'm using a Nexus 7), but I'm not sure of that. Is there something I need to add to address fine granularity??