ICS上的Webview看起來像一輛小車。下面的代碼在2.x仿真器上沒有顯示任何內容,但在ICS仿真器上顯示半頁白色屏幕。佈局下面是測試porpuses。如果我把一些html渲染到ICS的webview中,它就不會顯示半頁,然後繼續渲染一半,但我只看到白色的空白區域。在ICS上的Android Webview(冰淇淋三明治)
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/hello" />
<WebView
android:id="@+id/webView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
</WebView>
</LinearLayout>
有沒有人有想法?