mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-30 00:17:58 +01:00
fix a glitch with fullscreen view bottom actions being at the top
This commit is contained in:
parent
dd0122ef65
commit
a1e0d07798
1 changed files with 2 additions and 1 deletions
|
@ -758,7 +758,8 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun initBottomActionsLayout() {
|
private fun initBottomActionsLayout() {
|
||||||
bottom_actions.layoutParams.height = resources.getDimension(R.dimen.bottom_actions_height).toInt() + navigationBarHeight
|
val useNavigationBarHeight = if (navigationBarBottom) navigationBarHeight else 0
|
||||||
|
bottom_actions.layoutParams.height = resources.getDimension(R.dimen.bottom_actions_height).toInt() + useNavigationBarHeight
|
||||||
if (config.bottomActions) {
|
if (config.bottomActions) {
|
||||||
bottom_actions.beVisible()
|
bottom_actions.beVisible()
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue