android - working with nested views? -
ok i've tried several different configurations. keeps crashing , can't see why? here code:
<linearlayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" <webview android:id="@+id/webview2" android:layout_width="fill_parent" android:layout_height="wrap_content" /> <relativelayout> <button android:id="@+id/one" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignparentbottom="true" android:layout_marginleft="10dip" android:text="video 1" /> <button android:id="@+id/two" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_toleftof="@id/one" android:text="video 2" /> <button android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_toleftof="@id/two" android:text="video 3" /> </relativelayout> </linearlayout>
it looks you're missing closing tag ">" linear layout.
Comments
Post a Comment