I am taking the Window
height by using Dimensions.get('window').height
and rendering content over screen. But when Full Screen Mode
is enabled hardware buttons are hidden which results to an extra space over the screen. But still Dimensions.get('window').height
is giving as same height as previous(when Full Screen Mode
was disabled). Eventually screen ends up with an extra space.
Is there any way in react-native
to render the content according to Full Screen Mode
?
And, How to get the complete height of the device when 'Full Screen Mode' is enabled?