Я поэкспериментирую с моим макетом XML уже несколько недель, и я просто не могу заставить его работать так, как мне бы хотелось.
Я бы хотел, чтобы объявление AdMob всегда было видно наВ нижней части экрана я попытался сделать это следующим образом, но, поскольку сетка просмотра графически интенсивна, я думаю, что реклама AdMob немного отстает (она показывает только 30% времени, примерно)
Надеюсь, кто-нибудь сможет показать мне, как правильно его выложить.IE Принудительная реклама внизу экрана!
Спасибо, Люси
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<ImageView android:id="@+id/ImageView03"
android:src="@drawable/banner_gallery"
android:layout_height="60dp"
android:layout_width="fill_parent"></ImageView>
<GridView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/gridview" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:columnWidth="90dp"
android:numColumns="auto_fit" android:verticalSpacing="7dp"
android:horizontalSpacing="7dp" android:stretchMode="columnWidth"
android:gravity="center" android:layout_gravity="bottom"
android:layout_marginTop="10dp"></GridView>
<RelativeLayout
android:layout_marginTop="-50dip"
android:gravity="bottom"
android:layout_height="wrap_content"
android:layout_width="fill_parent">
<com.admob.android.ads.AdView
android:id="@+id/ad"
android:layout_width="fill_parent"
android:layout_height="wrap_content"/>
</RelativeLayout>
</LinearLayout>