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 0ed0c69cc..9b0b555ce 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 @@ -397,9 +397,9 @@ open class VideoPlayerActivity : SimpleActivity(), SeekBar.OnSeekBarChangeListen } val newAlpha = if (isFullScreen) 0f else 1f - top_shadow.animate().alpha(newAlpha).start() - video_time_holder.animate().alpha(newAlpha).start() - video_bottom_gradient.animate().alpha(newAlpha).start() + arrayOf(video_toggle_play_pause, video_curr_time, video_seekbar, video_duration, top_shadow, video_bottom_gradient).forEach { + it.animate().alpha(newAlpha).start() + } video_seekbar.setOnSeekBarChangeListener(if (mIsFullscreen) null else this) arrayOf(video_toggle_play_pause, video_curr_time, video_duration).forEach { it.isClickable = !mIsFullscreen diff --git a/app/src/main/res/layout/activity_video_player.xml b/app/src/main/res/layout/activity_video_player.xml index 8da8fc15d..a87ee4cc5 100644 --- a/app/src/main/res/layout/activity_video_player.xml +++ b/app/src/main/res/layout/activity_video_player.xml @@ -56,7 +56,6 @@ android:background="@drawable/gradient_background" tools:ignore="UnknownIdInLayout"/> - +