Closed GoogleCodeExporter closed 9 years ago
I didn't make many changes around the AdWhirlLayout in the last version... I'm
not sure what could be causing the issue. You haven't encountered this with
previous versions of AdWhirl? Did you also upgrade the AdMob SDK? Also what
device and Android version did you see this on?
Original comment by jpin...@google.com
on 25 Oct 2010 at 5:10
It seems that the AdView is invalidated every time a sibling is. So the ad
keeps flickering or redrawing with an animation.
It was not happening in the 2.1.3. I updated the Admob jar to the latest.
It can be seen with on the emulator and on a HTC Magic Android 1.6.
Original comment by writetop...@gmail.com
on 27 Oct 2010 at 11:43
I was talking to an engineer who worked on the AdMob SDK and had the same
issue. As you said, it happens when a sibling needs to be redrawn. Though you
said it wasn't happening in 2.1.3, the going theory is that we can't fix this
because it's part of android code. The views need to redraw themselves because
they think that the amount of space they get has been changed.
The workaround is to add the ad view to it's own layout, away from the map
layout or whatever is causing the redraw.
Original comment by jpin...@google.com
on 28 Oct 2010 at 12:24
[deleted comment]
This might be an AdMob bug. Have you seen this with any other ad networks?
Original comment by jpin...@google.com
on 1 Nov 2010 at 8:58
Isolating AdWhirlLayout in its own Layout solved the problem. I agree that it
seems to be an Admob bug. The ad is redrawn with an animation every time it is
asked to be redrawn.
I think this issue can closed. Thanks for your time.
Original comment by writetop...@gmail.com
on 14 Nov 2010 at 11:21
I am new to Android/Adwhirl. How do you put the ads in their own layout? Is
it like an overlay? I just need a nudge in the right direction.
Thanks
Original comment by codehamm...@gmail.com
on 14 Nov 2010 at 7:40
Hi codehammer, just create a new RelativeLayout or something and add an
AdWhirlLayout to it. If you have more Android related questions, you should try
their group, and if you have AdWhirl related questions feel free to post on our
group.
Original comment by jpin...@google.com
on 15 Nov 2010 at 4:44
Ok thanks. I was overthinking the problem.
Original comment by codehamm...@gmail.com
on 16 Nov 2010 at 5:12
Original issue reported on code.google.com by
writetop...@gmail.com
on 24 Oct 2010 at 8:21