Hi there! I know it is an old post, but there is other problem too...

To rotate AdView you simply need to use something like this:
adView.setRotation(90);

But banner will be cropped after rotating. It looks like canvas does not 
rotate. It's well noticed on small angles:

<https://lh3.googleusercontent.com/-panV6oVU3dA/WEcMPJjnrnI/AAAAAAAAAXU/bXEM3gcNQr825gD7V02jvHCAfLQ7WOhbwCLcB/s1600/unnamed.png>

If you rotate banner 90 degrees, it completely disappear. But it still 
reacts on clicks.

I tried to set pivot center through setPivotX() and setPivotY() - no 
results.
I tried to create subclass for AdView, but AdView is final class. So, nor 
any subclasses... :(

Any suggestions?

PS: <integer name="google_play_services_version">8487000</integer>


вторник, 22 декабря 2009 г., 11:23:49 UTC+5 пользователь Pankaj Deshpande 
написал:
>
> Dose anybody knows how to rotate an AdView in android?
> I took it in LinearLalyout  and it's position is fixed.
> My application's orientation is portrait and I want AdView in
> horizontal fashion.
> Is it possible? How?
>
> Thanks in advance!
>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/a58fb5fa-03ba-41a8-80e9-1c32a2304910%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to