Hi all,

I'm trying without success to shape a simple screen composed of a
webview and a closebutton on the bottom.
When i run it i see the button close at bottom but when the loadURL of
the webview is done the webview takes all the screen size and hide the
close button ;(

FYI i load the url after i'm sure the view is displayed.

Do you have idea how to fix this?

Regards.

Croco


<LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android"
        android:layout_width="fill_parent"
android:layout_height="fill_parent"
        android:orientation="vertical">
        <ScrollView android:layout_width="wrap_content"
                android:layout_height="wrap_content" android:layout_weight="1">
                <WebView android:id="@+id/webview"
android:layout_width="fill_parent"
                        android:layout_height="wrap_content" />
        </ScrollView>
        <Button android:id="@+id/backButton" android:text="@string/
close_button"
                android:layout_width="fill_parent"
android:layout_height="wrap_content"
                android:layout_centerHorizontal="true" />
</LinearLayout>
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to