seekBar.setOnSeekBarChangeListener(new OnSeekBarChangeListener() {
// 터치 종료
public void onStopTrackingTouch(SeekBar seekBar) {
if(!videoview.isPlaying()){
videoview.start();
}
}
//드래깅 따위
public void onProgressChanged(SeekBar seekBar, int progressvol,
boolean fromUser) {
if (fromUser) {
videoview.seekTo(_seekBar.getProgress());
}
}
//터치 시작
public void onStartTrackingTouch(SeekBar seekBar) {
videoview.pause();
}
});
댓글
댓글 쓰기