Admob ads will not display when placed inside a tabview
Posted
by
smith324
on Stack Overflow
See other posts from Stack Overflow
or by smith324
Published on 2010-09-14T01:58:01Z
Indexed on
2010/12/22
17:54 UTC
Read the original article
Hit count: 465
I've been trying to get my ads to display in this type of layout.
Tabs -> LinearLayout -> ListView -> header. The header is set via addHeaderView
and is displaying normally. If I were to move the ads anywhere else they display normally (so its not a setup issue). Using ads in the header of a listview works fine in my other projects.
So this seems to be a very specific problem, the ads simply refuse to display when placed in the header of a listview inside a tabhost.
My logs show no activity from admob at all. There is either a bug here or limitation of the sdk. Does anyone have any experience or insight into this issue?
EDIT
I found the solution. It actually had to do with padding that was in the root of my Tabview. For more checkout my answer here
© Stack Overflow or respective owner