Jak ustawić maksymalną wysokość z zawartością zawijania w systemie Android?
W systemie Android, w jaki sposób można utworzyć widok przewijania, który ma maksymalną wysokość i zawija zawartość, zasadniczo zawija zawartość w pionie, ale ma maksymalną wysokość?
próbowałem
<ScrollView
android:id="@+id/scrollView1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:maxHeight="200dp"
android:layout_alignParentBottom="true" >
<LinearLayout
android:id="@+id/maincontainer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
</LinearLayout>
</ScrollView>
Ale to nie działa?