Skip to content Skip to sidebar Skip to footer

Android 8 - How To Know What Side The Navigation Bar Is When Going From Landscape To Reverse_landscape?

In Android 8, when the phone goes to LANDSCAPE the navigation will be on the right side of the screen, and when its in REVERSE_LANDSCAPE, it'll be on the left side. What I did to f

Solution 1:

You can override Activity#onConfigurationChanged(Configuration newConfig) to get a callback when the user rotates their device.

You can checkout these links for more details:

Post a Comment for "Android 8 - How To Know What Side The Navigation Bar Is When Going From Landscape To Reverse_landscape?"