Android WebView with AdMob ads at the bottom

I've been addicted to this all day and can't figure it out. I have a WebView and hope to have an AdMob advertisement at the bottom. What should my XML be like? Should I configure AdMob in XML or use code? thank you

resolvent:

You can use WebView and AdMob view for vertical linear layout in XML file, and then set Android: layout for WebView_ Weight = "1", push your AdMob view to the bottom of your layout

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>