android - How do you disable the seekbar in a media controller? -


i disable seekbar keep pause , play buttons in media controller object. don't want users able skip through video, can pause if needed.

i've looked @ other questions didn't make sense me. if on great!

try this:

seekbar.setontouchlistener(new ontouchlistener(){       @override       public boolean ontouch(view v, motionevent event) {         return true;      }     }); 

Comments

Popular posts from this blog

c - Calling a function within a loop -

vb.net - Unbound DataGridView add row with checkbox error -

How i fill combobox items in Radgridview manually using in vb.net -