croco wrote: > Hello Mark, > > Yes i've tried to use scrollview after many unsucessful attempt to > post my issue on the android group. > > On your advice i switched code to > > <LinearLayout xmlns:android="http://schemas.android.com/apk/res/ > android" > 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="0px" layout_weight="1" /> > <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> > > But the webview still overrides all the screen space ;( > Did i miss something ? or how i should write it to work with > relativelayout please.
That is android:layout_weight. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, $35/Year
-- 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

