...
if(videoView.isPlaying()) {
playPause.setState(PlayPauseView.STATE_PAUSE);
videoView.pause();
playPause.fadeIn();
} else {
playPause.setState(PlayPauseView.STATE_PLAY);
videoView.start();
playPause.fadeOut();
}
...
...
<PlayPauseView
android:id="@+id/playPause"
android:layout_width="24dp"
android:layout_height="24dp"
app:srcCompat="@drawable/play_to_pause" />
...