thanks.. just look on youtube app, they do it the same.
but i got also they limit there listview at the first page :) so i did not the same. thanks chris On Mar 12, 7:48 pm, Romain Guy <romain...@google.com> wrote: > Do NOT put a ListView inside a ScrollView. ListView already handles > scrolling, you're only going to run into trouble. > > > > > > On Thu, Mar 12, 2009 at 4:37 AM, guruk <ilovesi...@gmail.com> wrote: > > > Hi, (sorry if this mail is twice, but i dont see my first posting > > online:) > > > I have a Scrollview with an Gallery at the top, bellow two lines > > textview and a Listview) > > > 1. Problem. > > Listview with height=Fill_parent or wrap_content does not work (it > > only shows me a tiny part of the listview) > > So i did just dummy Listview Height=5300, to see how it have to look > > like. > > What to do, that the Listview comes automaticly full filled and shown > > with all items? > > Finaly when I scroll the page down, the Gallery, textview and Listview > > should scroll up, all. > > Thats why I placed ALL in a Scrollview. > > > 2. As it is now (with my dummy heigth 5300), when the GUI pops up, it > > does not start at the top with the > > gallery, instead it starts at the Listview ???!?! > > > Here is my Layout xml. > > > <?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 > > -- > Romain Guy > Android framework engineer > romain...@android.com > > Note: please don't send private questions to me, as I don't have time > to provide private support. All such questions should be posted on > public forums, where I and others can see and answer them --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---