On 17 May 2011 10:02, qureei <[email protected]> wrote:

> Is there a way to show ads vertically in landscape mode in an Android game?
> Something like the following:
>
>
> http://stackoverflow.com/questions/5684097/how-to-show-admob-ads-vertical-in-landscape-mode-android
>
>  I have tried all sorts of orientation settings, layouts etc, but nothing
> helps. And I haven't been able to find an answer to this anywhere.
>

You have to do the trick -> keep your app in portrait mode (enforce it
even), but draw your game graphics to look correct for  landscape (rotated).
Keeping screen orientation portrait will make all elements you cannot fully
control (like ads) to be shown in portrait orientation, but since your app
runs in horizontal view, user got device rotated "by hand" anyway so you get
what you aim for. You may want to run full screen to hide notification bar
as it would confusing to the user.

Regards,
Marcin Orlowski

*Tray Agenda <http://bit.ly/trayagenda>* - keep you daily schedule handy...
*Date In Tray* <http://bit.ly/dateintraypro> - current date at glance...
WebnetMobile on *Facebook <http://webnetmobile.com/fb/>* and
*Twitter<http://webnetmobile.com/twitter/>
*

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to