我是android.I初學者使用webview和綜合admob廣告橫幅製作了Flash遊戲android應用程序,但它覆蓋了webview.I需要它出現像這樣pic http://i46.tinypic.com/2cosrjp.png 這是我的代碼:android佈局覆蓋問題
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:ads="http://schemas.android.com/apk/lib/com.google.ads"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
<RelativeLayout
android:id="@+id/lay"
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
<WebView
android:id="@+id/webview"
android:layout_width="fill_parent"
android:layout_height="fill_parent" />
</RelativeLayout>
<com.google.ads.AdView
android:id="@+id/adView"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
ads:adSize="BANNER"
ads:adUnitId="a1513fab869115a"
ads:loadAdOnCreate="true"
ads:testDevices="TEST_EMULATOR, TEST_DEVICE_ID" />
</RelativeLayout>
@ A.Jouni ok.Check日誌貓是什麼錯誤? – 2013-03-15 18:01:29
太棒了!廣告橫幅大小是否會減少? – 2013-03-15 18:02:20
android:layout_height =「40dp」或測試後可以提供的任何大小。 – 2013-03-15 18:03:33