Android中Gallery的Item默认是居中显示,如果要靠左显现则需要自定义Gallery,下面就是我完成的Demo,第一次贡献代码多多关照!
<com.fangyaoyu.gallery.widget.AndroidGallery
android:id="@+id/gallery"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center" />