我在Android游戏的RenderSurface View中使用OpenGL.游戏使用横向作为屏幕方向,但我想将广告在手机底部旋转90°.(因为如果我使用肖像作为屏幕方向)
这是我可以放置广告而不会让游戏在小屏幕上无法播放的唯一方式.我想做到这一点:
View.rotate(..)
问题是此功能首先在API Level 11中可用.
如果我的游戏只能在Android 3.0上播放,我会大幅减少用户群.
android opengl-es rotation android-view
android ×1
android-view ×1
opengl-es ×1
rotation ×1