Seekbar progress Level upto a limit between 0 and max
Hello I have a seek bar with max progress value 100 in android. I want that the seekbar can go up to value 50 only between 0-100. It wont allow to progress beyound value 50. My logic is like that I don't want to change max value of progress of seekbar. 

Please help how can I do this in seekbar in android. Thanks in advance.

 
Seekbar progress Level upto a limit between 0 and max
===

Hello I have a seek bar with max progress value 100 in android. I want that the seekbar can go up to value 50 only between 0-100. It wont allow to progress beyound value 50. My logic is like that I don't want to change max value of progress of seekbar. 

Please help how can I do this in seekbar in android. Thanks in advance.

 