mirror of
				https://github.com/SimpleMobileTools/Simple-Gallery.git
				synced 2025-06-05 21:59:19 +02:00 
			
		
		
		
	fix #732, delay automatic fullscreen animation a bit to make it smoother
This commit is contained in:
		| @@ -218,7 +218,11 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View | |||||||
|         } |         } | ||||||
|  |  | ||||||
|         if (config.hideSystemUI) { |         if (config.hideSystemUI) { | ||||||
|  |             view_pager.onGlobalLayout { | ||||||
|  |                 Handler().postDelayed({ | ||||||
|                     fragmentClicked() |                     fragmentClicked() | ||||||
|  |                 }, 500) | ||||||
|  |             } | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         window.decorView.setOnSystemUiVisibilityChangeListener { visibility -> |         window.decorView.setOnSystemUiVisibilityChangeListener { visibility -> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user