From 7a38862e8c83fa36864155da5cffb67a3f0d83e7 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 17 Jun 2018 21:30:51 +0200 Subject: [PATCH] recalculate bottom actions position on orientation change --- .../simplemobiletools/gallery/activities/ViewPagerActivity.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/ViewPagerActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/ViewPagerActivity.kt index 784bf8fcd..9579a727f 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/ViewPagerActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/ViewPagerActivity.kt @@ -827,6 +827,7 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View override fun onConfigurationChanged(newConfig: Configuration?) { super.onConfigurationChanged(newConfig) measureScreen() + initBottomActionsLayout() } private fun measureScreen() {