W / webcore (2733): ViewWidth kann nach dem ersten Layout nicht abgerufen werden
Ich habe drei Web Views nebeneinander, um verschiedene Spinner anzuzeigen. Manchmal wird dieser Fehler angezeigt, der Probleme beim Rendern von Fenstern verursacht.
Hier ist mein XML ...
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout
android:orientation="horizontal"
android:layout_height="300dp"
android:layout_width="match_parent"
android:gravity="center">
<WebView
android:id="@+id/measure_view"
android:background="#77000000"
android:layout_height="match_parent"
android:layout_width="160dp"
android:focusable="true"/>
<WebView
android:id="@+id/input_view"
android:background="#77000000"
android:layout_height="match_parent"
android:layout_width="160dp"
android:focusable="true"/>
<WebView
android:id="@+id/output_view"
android:background="#77000000"
android:layout_height="match_parent"
android:layout_width="160dp"
android:focusable="true"/>
</LinearLayout>
Irgendwelche Gedanken?
Danke, Nathaniel.