I am trying to implement the Native ads for my app, Currently I have tested an example "admob_example" with the library "mwFirebaseAdmobNative". The problem is I don't want to start an activity for native ads, I just want to show the ad above the content (like float). I have also done this (picture attached) by instead of starting the activity, directly starting the code
"
Sub pnlNative_Click
nuad.Initialize(Me,"ca-app-pub-3940256099942544/2247696110",10dip,50dip,100%X-20dip,150dip,Root,True)
nuad.LoadNativeAd
End Sub
and this is working, but there is no exit button to remove the ad from the screen. However, there is an option in the coding to remove the view, after some time I can remove it,
"Sleep(10000)
nuad.RemoveView"
The back button will exit the app, there is also the designer layout (pic attached) for this native ad, I have tried to attach the exit button to it, but it is not shown despite writing the code in the script in the design layout.
Now help is needed to attach the exit button or close(x) button on the corner.
Best Regards