Admob ads will not appear when placed inside a tab

I am trying to show my ads in this type of layout. Tabs -> LinearLayout -> ListView -> header. The header is set via addHeaderView and displays normally. If I moved the ads elsewhere, they would display normally (so this is not an installation problem). Using ads in the list header works fine in my other projects.

Thus, this, apparently, is a very specific problem, the advertisement simply refuses to display when placed in the heading of the list in the taboo.

My logs do not show activity from admob at all. There is either an error here or an sdk limitation. Does anyone have experience or understanding of this problem?

EDIT

I have found a solution. In fact, this was due to the filling, which was at the root of my Tabview. For more information about my answer here

0
android listview android-tabhost admob
source share
1 answer

As I mentioned in editing, the problem is with padding in the views. I answered another question here

0
source share

All Articles