Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6758951
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T13:52:13+00:00 2026-05-26T13:52:13+00:00

I am developing an application for Moto Xoom. I am displaying some static content

  • 0

I am developing an application for Moto Xoom. I am displaying some static content in the webview, once the content is loaded, after scrolling down, displaying one button in the bottom.

Following are the properties set to webview.

mWebview.setWebViewClient(new WebViewClient());
mWebview.setVerticalScrollBarEnabled(false);
mWebview.getSettings().setJavaScriptEnabled(true);  
mWebview.getSettings().setDefaultZoom(ZoomDensity.MEDIUM);

mWebview.loadData(data, "text/html", "UTF-8");

In Layout, inside the scroll view I have added one linearlayout, inside that linearlayout one webview and below to that a button is there.

The issue is sometimes there is more space between the webview and button, sometimes its proper.

And it is perfectly working in Samsung Galaxy Tab, this issues happens only in Moto Xoom.

Adding the layout here:

<ScrollView
    android:id="@+id/ScrollView01"
    android:layout_height="fill_parent"
    android:layout_width="fill_parent"
    android:scrollbarAlwaysDrawVerticalTrack="true"
    android:scrollbars="vertical"
    android:fadingEdge="none"
    android:fadeScrollbars="false">
    <LinearLayout
        android:background="#FFFFFF"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:orientation="vertical">

        <WebView
            android:id="@+id/webView"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content">
        </WebView>
        <Button
            android:layout_height="wrap_content"
            android:id="@+id/btnAccept"
            android:layout_width="wrap_content"
            android:bufferType="normal"
            android:textSize="18dip"
            android:textStyle="bold"
            android:padding="10dip"
            android:layout_margin="10dip"
            android:background="@drawable/btn_terms_iaccept"
            android:layout_gravity="center_horizontal"
            android:visibility="gone"></Button>

    </LinearLayout>
</ScrollView>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T13:52:14+00:00Added an answer on May 26, 2026 at 1:52 pm

    When we add two scrollable controls one inside the other then its giving these kind of issues, so instead of webview I have added the textview inside the scrollview. And using the following line. I have loaded html content in the textview directly.

    txtViewContent.setText(Html.fromHtml(data)); // data is html string

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I`m developing an application using Spring WebFlow 2, Facelets and JSF. One of my
I am not much familiar with developing application using cocoa on mac. Can some
I'm developing application in WPF but some components are written using WinForms. I wan't
i am developing application and i have set some html control which are runat=server
i am developing application in which i integrated the YAF forum successfully only one
Hello friends I am developing application in which view has one textField & 2
I'm developing application that require send shortcut to desktop operation. I found only one
I am developing application that uses shared preferences and content provider. But everytime I
Iam developing one application.In that i use the google api for getting the location
Iam developing one application.In that i use the google api for getting the location

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.