私は、子として RelativeLayout を持つ HorizontalScrollView を持っています。そして、ここに私のxmlファイルがあります:
<?xml version="1.0" encoding="utf-8"?>
<HorizontalScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:background="#ff00ff"
    android:scrollbars="none">
<RelativeLayout
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:background="#ffffff" >
</RelativeLayout>
 </HorizontalScrollView>
出力はピンク色です...しかし、私は白が必要です...なぜ相対レイアウトはその親を塗りつぶしませんでしたか?
スクリーンショット:

ボタン付きのスクリーンショット: