Android 实现显示文字的Gallery
摘要:
实现了显示文字的Gallery,效果如下:首先肯定是创建android工程,修改res/layout下的main.xml文件如下:<gallery android:id="@+id/mygallery" android:layout_width="fill_parent" android:layout_height="wrap_content" android:spacing="20dp" />MainActivity中onCreate方法如下:、public void onCreate(Bundle 阅读全文
posted @ 2011-06-15 14:45 vus520 阅读(416) 评论(0) 推荐(0) 编辑