Banner Ads Not Appearing Correctly on Some Android Devices
See original GitHub issueDescribe the bug AdMob Banner ads appear fine on some devices, while appearing broken on others. I don’t think this issue is related to the layout of XAML. Because I only faced this issue on some devices.
Screenshots Screenshot
- Device: Oppo Reno Z2, Xiaomi Redmi Note 9
- OS: Android 10
This is my BannerAd.xaml codes
<?xml version="1.0" encoding="UTF-8"?> <controls:MTAdView xmlns:controls="clr-namespace:MarcTron.Plugin.Controls;assembly=Plugin.MtAdmob" xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="QRScanner.Views.BannerAd" x:Name="bannerAd" IsVisible="{Binding IsAdsVisible}" PersonalizedAds="true" VerticalOptions="Fill" HeightRequest="50" AdsId="{OnPlatform Android='BANNER AD IF FOR ANDROID', iOS='BANNER AD IF FOR IOS" > </controls:MTAdView>
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top GitHub Comments
The problem still exists. As I understand it, 90px banner ads appear on some devices. Just like tablets. As such, the 90px banner ad overflows from the 50px area.
Yes, above issue still exists.