Hi, I have a listview, there in the top is a gallery and two lines of text, than follows my listview. The problem ist, when i say height in listview = fill_parent or wrap_content and i have lets say 30 items in the listview, only the first List Item is shown (it does not fill the screen, or show all items.) Finaly I would like the gallery in the top , two lines textview and than the full listview. When I scroll down, everything (incl. gallery...) has to scroll up.
Its just a trick to see if it works, that I had made listview heigth=5300px, but for sure I would like that its auto heigh:) And also something strange. As it is like now and the design pops up. It does not start at the TOP (with the gallery) instead it starts where the listview starts?!?! Here is my layout: <?xml version="1.0" encoding="utf-8"?> <ScrollView android:id="@+id/widget28" android:layout_width="fill_parent" android:layout_height="fill_parent" xmlns:android="http://schemas.android.com/apk/res/android" > <LinearLayout android:id="@+id/widget29" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" > <Gallery android:id="@+id/gallery" android:layout_width="fill_parent" android:layout_height="wrap_content" android:gravity="bottom" /> <TextView android:id="@+id/gallery_underline1" android:layout_width="fill_parent" android:layout_height="wrap_content" android:gravity="center_horizontal" android:textSize="16sp" android:textStyle="bold" android:text="Picture Info helloo" /> <TextView android:id="@+id/gallery_underline2" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="Seconde Line of Picture" android:gravity="center_horizontal" /> <ListView android:id="@+id/shoppinglist" android:layout_width="fill_parent" android:layout_height="5366px" /> </LinearLayout> </ScrollView> thanks for help chris --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---