mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-06-05 21:59:19 +02:00
recalculate bottom actions position on orientation change
This commit is contained in:
@ -827,6 +827,7 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View
|
|||||||
override fun onConfigurationChanged(newConfig: Configuration?) {
|
override fun onConfigurationChanged(newConfig: Configuration?) {
|
||||||
super.onConfigurationChanged(newConfig)
|
super.onConfigurationChanged(newConfig)
|
||||||
measureScreen()
|
measureScreen()
|
||||||
|
initBottomActionsLayout()
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun measureScreen() {
|
private fun measureScreen() {
|
||||||
|
Reference in New Issue
Block a user