Note that there are some explanatory texts on larger screens.

plurals
  1. PODisplay a webview + gallery + webview
    text
    copied!<p>I have to implement a layout which I have to show two webviews and a gallety between this. The url for each webview is a html file that I have in local. The gallery have to show images which are storage in local too.</p> <p>My problems is that when I execute the app only show me the last webview and I can not see the first webview and gallery.</p> <p>My layout.xml is:</p> <pre><code> &lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:id="@+id/main_layout" android:scrollbars="vertical"&gt; &lt;!-- Title bar --&gt; &lt;include android:id="@+id/titlebar" layout="@layout/titlebar" android:layout_width="fill_parent" android:layout_height="@dimen/titlebar_height" /&gt; &lt;!-- Content --&gt; &lt;TextView android:id="@+id/textView1" android:layout_width="wrap_content" android:layout_height="wrap_content" /&gt; &lt;!-- Content --&gt; &lt;WebView android:id="@+id/webViewDisease" android:layout_width="wrap_content" android:layout_height="wrap_content" &gt; &lt;/WebView&gt; &lt;TextView android:id="@+id/textView2" android:layout_width="wrap_content" android:layout_height="wrap_content" /&gt; &lt;Gallery android:id="@+id/gallery1" android:layout_width="wrap_content" android:layout_height="180dip" /&gt; &lt;!-- Bottom --&gt; &lt;WebView android:id="@+id/webViewBottomDisease" android:layout_width="wrap_content" android:layout_height="wrap_content" &gt; &lt;/WebView&gt; &lt;TextView android:id="@+id/textView3" android:layout_width="wrap_content" android:layout_height="wrap_content" /&gt; &lt;/LinearLayout&gt; </code></pre> <p>For my help, I am using textview for separate the differents areas. Maybe the problem is the main scrollbar.</p> <p>I have try to disable the scrollbar of the webviews by code:</p> <pre><code>this.wbButtom.setVerticalScrollBarEnabled(false); this.wbButtom.setHorizontalScrollBarEnabled(false); </code></pre> <p>But I don't work...is imposible show all elements and make scroll.</p> <p>Any idea? Thanks y sorry for my poor english.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload