Disable changes on seekbar by client

One thing you can do is to disable the seekbar, Like seekbar.setEnabled(false)

doing so framework will not accept any Touch event from user and you Can change progress level only through code.

I hope this will help you.......


You can use android:enabled="false" , but it will display disable effect [darken your seekbar].

So if you want to display enable seekbar with no response to thumb activity, implement touch event handler with return true as shown below.

seekBar.setOnTouchListener(new OnTouchListener(){
  @Override
  public boolean onTouch(View v, MotionEvent event) {
    return true;
 }
});