W / webcore (2733): невозможно получить viewWidth после первого макета
У меня есть три веб-вида рядом друг с другом для отображения отдельных счетчиков. Иногда я получаю эту ошибку, которая вызывает проблемы при рендеринге окна.
вот мой 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>
Какие-нибудь мысли?
Спасибо, Натаниэль.