Android的相册控件:Left Locked Gallery
jopen
11年前
Android默认的Gallery只能居中锁定的 意思是你只能居中显示你选中的item。 当你想要实现居左效果时 用Left Locked Gallery就很方便了。
用法
The left locked gallery is provided as a library project, so all you need to do is reference the library project in your main android project.
In XML:
<com.scvngr.levelup.views.gallery.Gallery android:id="@+id/tip_selector_gallery" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@drawable/bg_gallery" android:padding="0dip" />