Android Question How to detect if navigation bar is hidden/visible?

MikeH

Well-Known Member
Licensed User
Longtime User
With Android v6+ the user has the ability to hide the nav bar. Some apps will adjust the layout according to if the nav bar is hidden or in view. How can I detect this?
 

MikeH

Well-Known Member
Licensed User
Longtime User
 
Upvote 0

MikeH

Well-Known Member
Licensed User
Longtime User
Call IME.AddHeightChangedEvent. Is the HeightChanged event raised when you change the state?
Yes, this got it. Thank Erel :)
 
Upvote 0

MikeH

Well-Known Member
Licensed User
Longtime User
Call IME.AddHeightChangedEvent. Is the HeightChanged event raised when you change the state?
Further, this worked fine for portrait but the event doesnt trigger in landscape.
 
Upvote 0
Top