android - add (AdMob) size could be fill_parent insted wrap_content? -
my add makes view scale problems . solved making android:layout_width fill_parent insted wrap_content .
<com.google.ads.adview android:id="@+id/ad" android:layout_width="fill_parent" android:layout_height="wrap_content" ads:adsize="banner" ads:adunitid="axxxxxx" ads:loadadoncreate="true" />
any issues should aware of or ok ?
fill_parent
on width fine, long understand means. basically, ad 320x50 view span entire width, can't place other views in area.
if you're going full width, may consider smart_banner
ad size well, fill entire space ad.
Comments
Post a Comment