Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70428

Is Android Using Hardware or Software Nav Bar?

$
0
0

@DRConstellation wrote:

I am trying to set the height of elements on a page by fetching the value from platform.height() and then dynamically assigning a value based on the height and some calculations.

The issue is that platform.height() will include the space taken up by the android navbar (https://i.stack.imgur.com/9F1JT.png) and this is causing the height to be calculated incorrectly.

Is there a way to determine if the device is using a hardware or software nav bar? From there I could calculate the height of the bar (if it is software) and determine how much space to subtract from the platform.height() value.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70428

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>