Hello all, This one is quite simple, or should be, but I couldn't figure out how to. So ...
I have a Gallery, something like : <Gallery android:id="@+id/Gallery01" android:layout_width="fill_parent" android:layout_height="wrap_content" android:spacing="0sp"></Gallery> Inside, custom views : first item has a width of 200px, all other items have a width of 150px. Now, in landscape mode, with a screen of -let's say- 800px : - by default the first item is selected; - by default the selected item is positioned in a "slot" so that its center is the gallery's center; - so, when first loading the gallery, the layout is : * 300 px that are empty * 200 px with first item * 2 * 150px with second and third items. * = Total of 800px Now, the behavior I try to reach is to have the first item taking the empty space at its left, to have the following layout : * 200 px with first item * 4 * 150px with items 2, 3, 4 & 5 * = Total of 800px I tried : - scrollx on gallery : it moves the whole view to the left, NOK - padding : NOK - margin : NOK ... Any idea ? Thanks & regards, G -- 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

