静的な背景画像で大きな画像ビューをスクロール可能にしようとしています。私が直面している問題は、画像ビューの上に多くの空き領域があり、画像を表示するには下にスクロールする必要があることです。
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/background_mdpi"
android:gravity="top"
android:orientation="vertical" >
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="match_parent"
android:layout_margin="11dp"
android:gravity="top"
android:background="@drawable/panel" >
<ScrollView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
>
<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="top"
android:src="@drawable/help_screen" />
</ScrollView>
</LinearLayout>
</LinearLayout>
この余分なスペースを取り除き、画像を表示して、長い画像なので下にスクロールするにはどうすればよいですか。
ありがとう、アビナフ・ティアギ