强制Admob的方向
我想知道是否有可能强制 Android 的 Admob 横幅 (4.3.1) 的方向。我的游戏强制玩家横向玩,但我想将广告放在垂直方向。这样,广告将占用更少的屏幕空间,我可以将广告放在更好的位置来获得点击。
我已经看过这样的游戏,但我不记得是哪一个了...哦,我的广告只是在 XML 文件上,所以如果我可以在没有 JAVA 代码的情况下使用它,那就太好了。
我的研究没有发现任何结果:S
谢谢
I want to know if there is a possibility to force the orientation of an Admob Banner (4.3.1) for Android. My game force the player to play in landscape, but I would like to put the Ad at the vertical. Like this the Ad will destroy less space on the screen and I can put the ad at a better place to get clicks.
I already saw games like this, but I don't remember which one... Oh, and my Ad is only on a XML file, so if I can use it without JAVA code, it would be excellent.
I found nothing on my research :S
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
遗憾的是,AdMob 不支持 50x320 广告素材。
Unfortunately, AdMob does not support a 50x320 creative.
您可以翻转它,但内容仍然会处于不同的方向。这可能应该在代码中完成。我不太了解锄头。
此链接可能有帮助
You can flip it, but the content will still be in a different orientation. And this should be done probably in the code. I don't exactly know hoe.
This link might help