Holo.Dialog (または古い API レベルの単純な古いダイアログ) をテーマにしたアクティビティがあり、すべてのコンテンツを表示できない小さな画面に遭遇した場合に備えて、メイン レイアウトとして ScrollView が含まれています。私の問題は、以下に示すように、垂直方向の画面スペースが残っている場合でも、すべてのコンテンツを表示するためにダイアログをスクロールする必要があることです。
ScrollView のコードは次のとおりです。これは 1 つの子である LinearLayout です。
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/scrollView1"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:orientation="vertical" >
このダイアログをより適切にラップするには、何を変更する必要がありますか? ありがとう!