You can use android:enabled="false"as suggested by @yuku, but it will show the disconnect effect [darken your search].
So, if you want to display the inclusion search bar without responding to thumb activity, implement a touch event handler that returns true, as shown below.
seekBar.setOnTouchListener(new OnTouchListener(){
@Override
public boolean onTouch(View v, MotionEvent event) {
return true;
}
});
source
share