Anyone have anything?

On Feb 1, 8:37 pm, Breezy <[email protected]> wrote:
> I want to put two buttons (not HTML) at the top of my view and the
> webview below it...  Almost like frames in HTML, except the top frame
> is android XML code, not an HTML frame.  I can get it somewhat like I
> want, but whenever the HTML page is too big it goes up and under my
> buttons, but at the bottom of the buttons I want the top of the
> webview to start, all the time.  And the webview can scroll if
> necessary.
>
> Here's what I got, but it's not doing exactly what I was hoping
> for....
>
> <RelativeLayout
>         xmlns:android="http://schemas.android.com/apk/res/android";
>         android:layout_width="fill_parent"
>         android:layout_height="fill_parent">
>
>         <RelativeLayout
>                 android:id="@+id/webviewbox"
>                 android:layout_width="fill_parent"
>                 android:layout_height="wrap_content"
>                 android:layout_alignParentBottom="true"
>         >
>
>             <WebView
>         android:id="@+id/webview"
>         android:layout_width="wrap_content"
>         android:layout_height="wrap_content"
>         android:scrollbars="none"
>     />
>
>         </RelativeLayout>
>                 <Button
>                         android:id="@+id/button1"
>                         android:text="B1"
>                         android:layout_height="wrap_content"
>                         android:layout_width="100px"
>                         android:layout_alignParentLeft="true"
>                 />
>                 <Button
>                         android:id="@+id/button2"
>                         android:text="B2"
>                         android:layout_height="wrap_content"
>                         android:layout_width="100px"
>                         android:layout_alignParentRight="true"
>                 />
>
> </RelativeLayout>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to