我是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