なぜかはまるのですが,
レイアウト周りのややこしさというか,ビュー周りのややこしさというか。
こんな風にしたかっただけ。
+-------------+ |+-----------+| || webview || |+-----------+| ||image-fixed|| |+-----------+| +-------------+
「webview内が縦スクロールする」ということで
layout_height で wrap_content と fill_parent と同じ挙動な。
結局は
RelativeLayout の縦入れ子。
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical"> <RelativeLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="vertical" android:layout_alignParentTop="true"> <WebView android:id="@+id/webview" android:layout_width="fill_parent" android:layout_height="fill_parent" android:scrollbars="none" /> </RelativeLayout> <RelativeLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="vertical" android:layout_alignParentBottom="true"> ***** </RelativeLayout> </RelativeLayout>