Hi,
I have a layout xml file which embeds a ListView:
<ScrollView android:layout_width="fill_parent"
android:layout_height="0dip" android:layout_weight="1"
android:scrollbarStyle="outsideOverlay"
android:fillViewport="true">
<LinearLayout android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<!-- some text views, buttons, image views here --->
</LinearLayout>
<ListView
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
</ScrollView>
I have an adapter to bind/build views for the ListView. It works okay
in portrait mode.
But when I rotate the device (the height of the screen is shorter, the whole
complete does not fit), there is a scroll bar in the ListView part of the
view. How can I make it so that the scroll bar is for the WHOLE screen
instead of the ListView part of the view?
Thank you.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en