ScrollView に問題があります。その中に ImageView があります。imageView は、480 * 3000 ピクセルの画像を保持します。そのため、ユーザーが下にスクロールできるように、ScrollView にする必要があります。
問題は、アプリケーションをテストすると、ScrollView が画像の高さにラップしないことです。画像の下に黒いスペースがありますが、これは私には奇妙です。
これは私の XML コードです。ご意見お待ちしております
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<ScrollView
android:id="@+id/scroll_view"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:scrollbars="vertical" >
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/image"
android:src="@drawable/image01"
android:scaleType="fitStart" />
</ScrollView>
</RelativeLayout>
更新: これは、@ruhalde コードを使用した場合のイメージです。大きくて全体像が見えないのでスクリーンショットが撮れないので描いてみました。