fix #732, delay automatic fullscreen animation a bit to make it smoother
This commit is contained in:
parent
ac3e79c15b
commit
b1c6006e18
|
@ -218,7 +218,11 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View
|
|||
}
|
||||
|
||||
if (config.hideSystemUI) {
|
||||
view_pager.onGlobalLayout {
|
||||
Handler().postDelayed({
|
||||
fragmentClicked()
|
||||
}, 500)
|
||||
}
|
||||
}
|
||||
|
||||
window.decorView.setOnSystemUiVisibilityChangeListener { visibility ->
|
||||
|
|
Loading…
Reference in New Issue