簡単な質問がありますScrollView
。
たとえば、次のレイアウトがある場合:
<LinearLayout
android:id="@+id/wrapper_table"
android:layout_width="match_parent"
android:orientation="vertical"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
</LinearLayout>
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent">
<TableLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
</TableLayout>
</ScrollView>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
</LinearLayout>
</LinearLayout>
TheTableLayout
に多くTableRow
の場合Scrollview
、 は画面の端まで拡大され、下部LinearLayout
は表示されなくなります。ScrollView
下部を表示するのに十分なスペースを確保するために、高さを設定せずに高さを強制することは可能LinearLayout
ですか?
ありがとうございました!!