fix #674, properly handle video progressbar padding on device rotations
This commit is contained in:
parent
8a0dd4592b
commit
1e3296fce1
|
@ -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()) {
|
||||||
|
|
Loading…
Reference in New Issue