AdMob的广告(安卓)是小 [英] Admob advertisement (Android) is to small
问题描述
我在我的Android应用程序(<置入一个AdMob的广告href="https://market.android.com/details?id=com.peerkesoftware.blockcrusher&feature=search_result"相对=nofollow>块破碎机)和QVGA的advertisment较小然后在屏幕上。上更大的分辨率是没有问题的。
I placed a admob advertisement in my Android App (Block Crusher) and on QVGA the advertisment is smaller then the screen. On bigger resolutions there is no problem.
我用下面的XML到AdMob的广告添加到相对布局:
I used the following xml to add the admob advertisement to the relative layout:
<com.google.ads.AdView
android:id="@+id/ad"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
app:adSize="BANNER"
app:adUnitId="0000000000" />
我的观点的宽度设置为FILL_PARENT,当我看着层次观众我看到的看法是全宽。仍advertisment如上所示。
The width of my view is set to fill_parent and when I watch the hierarchy viewer I see that the view is the full width. Still the advertisment is shown as above.
我无论是在模拟器作为一个QVGA的手机都有这个问题。
I have this problem both in the emulator as on a QVGA phone.
任何人有这个问题?并知道如何解决呢?
Anybody else has this problem? And know how to resolve this?
推荐答案
在我更新了Admob的SDK来4.1.0版本的问题是固定的。
The problem was fixed when I updated the Admob SDK to version 4.1.0.
这篇关于AdMob的广告(安卓)是小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!