I'm having a little difficulties while trying to get a certain layout
to work: I want to have list. List does not have to be scrollable, but
should be shown completely. But the page itself should be able to
scroll (with the lists in it), if the total content ist higher than
the screen.

<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android";
android:id="@+id/linear_layout"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="#ff181818"
>
<Textview android:id="@+id/my_text" text="header contents goes here"
android:layout_width="fill_parent"
android:layout_height="wrap_content"/>
<ListView
android:id="@+id/my_list1"
android:layout_height="wrap_content"
android:layout_width="fill_parent"
/>
</LinearLayout>

it only uses a small part of the screen (about 2 lines per list),
instead of filling the available height, and the lists themselves can
be scrolled. How can I change the layout to always show the whole
lists but have the screen be scrollalbar?

-- 
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

Reply via email to