diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/VideoPlayerActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/VideoPlayerActivity.kt
index 67ca5b647..77bc90f02 100644
--- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/VideoPlayerActivity.kt
+++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/VideoPlayerActivity.kt
@@ -130,6 +130,7 @@ open class VideoPlayerActivity : SimpleActivity(), SeekBar.OnSeekBarChangeListen
video_seekbar.setOnClickListener { }
video_curr_time.setOnClickListener { skip(false) }
video_duration.setOnClickListener { skip(true) }
+ video_toggle_play_pause.setOnClickListener { togglePlayPause() }
video_player_holder.setOnClickListener {
fullscreenToggled(!mIsFullscreen)
}
@@ -258,6 +259,7 @@ open class VideoPlayerActivity : SimpleActivity(), SeekBar.OnSeekBarChangeListen
mWasVideoStarted = true
mIsPlaying = true
mExoPlayer?.playWhenReady = true
+ video_toggle_play_pause.setImageResource(R.drawable.ic_pause_outline)
window.addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON)
}
@@ -271,6 +273,7 @@ open class VideoPlayerActivity : SimpleActivity(), SeekBar.OnSeekBarChangeListen
mExoPlayer?.playWhenReady = false
}
+ video_toggle_play_pause.setImageResource(R.drawable.ic_play_outline)
window.clearFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON)
}
diff --git a/app/src/main/res/drawable-hdpi/ic_pause_outline.png b/app/src/main/res/drawable-hdpi/ic_pause_outline.png
new file mode 100644
index 000000000..d6d51bfc9
Binary files /dev/null and b/app/src/main/res/drawable-hdpi/ic_pause_outline.png differ
diff --git a/app/src/main/res/drawable-hdpi/ic_play_outline.png b/app/src/main/res/drawable-hdpi/ic_play_outline.png
new file mode 100644
index 000000000..12be0724f
Binary files /dev/null and b/app/src/main/res/drawable-hdpi/ic_play_outline.png differ
diff --git a/app/src/main/res/drawable-xhdpi/ic_pause_outline.png b/app/src/main/res/drawable-xhdpi/ic_pause_outline.png
new file mode 100644
index 000000000..11d8d1698
Binary files /dev/null and b/app/src/main/res/drawable-xhdpi/ic_pause_outline.png differ
diff --git a/app/src/main/res/drawable-xhdpi/ic_play_outline.png b/app/src/main/res/drawable-xhdpi/ic_play_outline.png
new file mode 100644
index 000000000..f99911f6c
Binary files /dev/null and b/app/src/main/res/drawable-xhdpi/ic_play_outline.png differ
diff --git a/app/src/main/res/drawable-xxhdpi/ic_pause_outline.png b/app/src/main/res/drawable-xxhdpi/ic_pause_outline.png
new file mode 100644
index 000000000..d6f0c72ce
Binary files /dev/null and b/app/src/main/res/drawable-xxhdpi/ic_pause_outline.png differ
diff --git a/app/src/main/res/drawable-xxhdpi/ic_play_outline.png b/app/src/main/res/drawable-xxhdpi/ic_play_outline.png
new file mode 100644
index 000000000..156d6ca62
Binary files /dev/null and b/app/src/main/res/drawable-xxhdpi/ic_play_outline.png differ
diff --git a/app/src/main/res/drawable-xxxhdpi/ic_pause_outline.png b/app/src/main/res/drawable-xxxhdpi/ic_pause_outline.png
new file mode 100644
index 000000000..162ed84d1
Binary files /dev/null and b/app/src/main/res/drawable-xxxhdpi/ic_pause_outline.png differ
diff --git a/app/src/main/res/drawable-xxxhdpi/ic_play_outline.png b/app/src/main/res/drawable-xxxhdpi/ic_play_outline.png
new file mode 100644
index 000000000..77370d426
Binary files /dev/null and b/app/src/main/res/drawable-xxxhdpi/ic_play_outline.png differ
diff --git a/app/src/main/res/layout/bottom_video_time_holder.xml b/app/src/main/res/layout/bottom_video_time_holder.xml
index cdf1e0c53..7e0422f00 100644
--- a/app/src/main/res/layout/bottom_video_time_holder.xml
+++ b/app/src/main/res/layout/bottom_video_time_holder.xml
@@ -7,10 +7,21 @@
android:layout_height="wrap_content"
android:layout_alignParentBottom="true">
+
+