Open mentuat opened 7 years ago
tested on various Android devices - banner.height is always larger than the actual height of the banner.
Sometimes it appears to be twice as much, on other devices a little less
if anyone else is having the same issue and needs a workaround when using admob I took the following ad heights based on device/window height:
32px ≤400dp 50px > 400dp and ≤ 720dp 90px > 720dp
https://firebase.google.com/docs/admob/android/banner
tested on various Android devices - banner.height is always larger than the actual height of the banner.
Sometimes it appears to be twice as much, on other devices a little less