强制Admob的方向

发布于 2024-12-14 04:49:55 字数 227 浏览 3 评论 0原文

我想知道是否有可能强制 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

尐偏执 2024-12-21 04:49:55

遗憾的是,AdMob 不支持 50x320 广告素材。

Unfortunately, AdMob does not support a 50x320 creative.

揽清风入怀 2024-12-21 04:49:55

您可以翻转它,但内容仍然会处于不同的方向。这可能应该在代码中完成。我不太了解锄头。

此链接可能有帮助

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文