diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/VideoFragment.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/VideoFragment.kt index ed866bc3f..ec781cc34 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/VideoFragment.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/VideoFragment.kt @@ -313,7 +313,8 @@ class VideoFragment : ViewPagerFragment(), SurfaceHolder.Callback, SeekBar.OnSee } else { mPlayOnPrepare = true } - mView!!.video_play_outline.setImageDrawable(null) + + mView!!.video_play_outline.setImageDrawable(resources.getDrawable(R.drawable.img_pause_outline_big)) activity!!.window.addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON) } @@ -544,6 +545,8 @@ class VideoFragment : ViewPagerFragment(), SurfaceHolder.Callback, SeekBar.OnSee } } } + + mView!!.video_play_outline.animate().alpha(if (isFullscreen) 0f else 1f).start() } private fun getExtendedDetailsY(height: Int): Float { diff --git a/app/src/main/res/drawable-hdpi/img_pause_outline_big.png b/app/src/main/res/drawable-hdpi/img_pause_outline_big.png new file mode 100644 index 000000000..5f7edd9bd Binary files /dev/null and b/app/src/main/res/drawable-hdpi/img_pause_outline_big.png differ diff --git a/app/src/main/res/drawable-xhdpi/img_pause_outline_big.png b/app/src/main/res/drawable-xhdpi/img_pause_outline_big.png new file mode 100644 index 000000000..fb11ab5ef Binary files /dev/null and b/app/src/main/res/drawable-xhdpi/img_pause_outline_big.png differ diff --git a/app/src/main/res/drawable-xxhdpi/img_pause_outline_big.png b/app/src/main/res/drawable-xxhdpi/img_pause_outline_big.png new file mode 100644 index 000000000..34930cced Binary files /dev/null and b/app/src/main/res/drawable-xxhdpi/img_pause_outline_big.png differ diff --git a/app/src/main/res/drawable-xxxhdpi/img_pause_outline_big.png b/app/src/main/res/drawable-xxxhdpi/img_pause_outline_big.png new file mode 100644 index 000000000..ffd3a897c Binary files /dev/null and b/app/src/main/res/drawable-xxxhdpi/img_pause_outline_big.png differ diff --git a/app/src/main/res/layout/pager_video_item.xml b/app/src/main/res/layout/pager_video_item.xml index 719a49096..b7658ca01 100644 --- a/app/src/main/res/layout/pager_video_item.xml +++ b/app/src/main/res/layout/pager_video_item.xml @@ -43,7 +43,7 @@ android:layout_height="@dimen/play_outline_size_big" android:layout_centerInParent="true" android:background="@android:color/transparent" - android:padding="@dimen/activity_margin" + android:padding="@dimen/big_margin" android:src="@drawable/img_play_outline_big"/> 120dp 30dp 38dp - 230dp + 200dp 60dp diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml index 79eab94d2..dc4653591 100644 --- a/app/src/main/res/values/dimens.xml +++ b/app/src/main/res/values/dimens.xml @@ -5,7 +5,7 @@ 20dp 22dp 26dp - 150dp + 130dp 60dp 60dp 30dp