Мой макет:Webview внутри LinearLayout внутри ScrollView не показывает
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="20dip"
android:background="@drawable/feed_bg_newnew"
android:orientation="vertical" >
<include
android:id="@+id/header"
layout="@layout/info_header" />
<WebView
android:id="@+id/myWebView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dip" />
<include
android:id="@+id/imgAttachmentsRow"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="5dip"
android:layout_marginTop="5dip"
layout="@layout/attachemnts_thumbs_container"
android:visibility="invisible" />
<include
android:id="@+id/docAttachmentsContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="5dip"
layout="@layout/document_attachments_thumbs_container"
android:visibility="invisible" />
<include
android:id="@+id/feedItemFooter"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
layout="@layout/feed_row_footer" />
</LinearLayout>
WebView не показывает, я также не скрывая его в коде. Все остальные виды отображаются правильно. Если я нажму кнопку, которая входит в одну часть, отобразится веб-просмотр. Содержимое для webView загружается из строки.
Что может быть неправильным?
эй вы нашли решение этой проблемы? Пожалуйста, опубликуйте его как ответ. – Atharva