Android seekbar how to block dragging / disable it for short time
You should set your own onTouchListener and just return true.
seekBar.setOnTouchListener(new View.OnTouchListener() {
@Override
public boolean onTouch(View view, MotionEvent motionEvent) {
return true;
}
});
Have you tried disabling the view?
Ref: http://developer.android.com/reference/android/view/View.html#setEnabled(boolean)
Update:
https://stackoverflow.com/a/3278616/529691
Ideally you shouldn't be doing this, as this is going to confuse the user. My suggestion is rethink your approach.