<ScrollView
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_weight="1"
        android:fillViewport="true" >

        <com.xxxx.GameView
            android:layout_width="match_parent"
            android:layout_height="match_parent" >
        </com.xxxx.GameView>
    </ScrollView>

 

滚动条里面的视图撑满整个控件