<Gallery
android:id="@+id/product_new_source_pictures"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="-150dp" //改这里就好了,根据不同的机型做修改
android:spacing="10dp" />
这样做,选中项是最左边那个,滑动到最右的时候,最后一个也是在左边