fix #674, properly handle video progressbar padding on device rotations

This commit is contained in:
tibbi 2018-03-02 17:31:18 +01:00
parent 8a0dd4592b
commit 1e3296fce1
1 changed files with 3 additions and 3 deletions

View File

@ -185,9 +185,9 @@ class VideoFragment : ViewPagerFragment(), SurfaceHolder.Callback, SeekBar.OnSee
private fun initTimeHolder() { private fun initTimeHolder() {
val res = resources val res = resources
val left = mTimeHolder!!.paddingLeft val left = 0
val top = mTimeHolder!!.paddingTop val top = 0
var right = mTimeHolder!!.paddingRight var right = 0
var bottom = 0 var bottom = 0
if (hasNavBar()) { if (hasNavBar()) {