fix #1191, allow toggling play/pause in fullscreen mode

This commit is contained in:
tibbi 2019-01-08 10:00:38 +01:00
parent 162b3ac2a1
commit 8b63d27cdc

View file

@ -402,7 +402,7 @@ open class VideoPlayerActivity : SimpleActivity(), SeekBar.OnSeekBarChangeListen
it.animate().alpha(newAlpha).start()
}
video_seekbar.setOnSeekBarChangeListener(if (mIsFullscreen) null else this)
arrayOf(video_toggle_play_pause, video_curr_time, video_duration).forEach {
arrayOf(video_curr_time, video_duration).forEach {
it.isClickable = !mIsFullscreen
}
}