摘要:
摘自iteye帖子[Android更换RatingBar图片]:http://www.iteye.com/topic/689272RatingBar 中文 API:http://www.cnblogs.com/over140/archive/2010/11/18/1880391.htmlRatingBar是我们在系统显示分数的好组件,但是我们一般想把RatingBar装饰的更好看,想把更好看的图片用来替换系统默认的图片,系统默认的样子是这样的:下图是个不错的选择哦:想要实现如上效果,首先我们在styles.xml写入一个样式:1 <?xml version="1.0" 阅读全文
摘要:
API:[摘自:http://www.cnblogs.com/over140/archive/2010/12/28/1918532.html]Gallery(画廊)使用Theme_galleryItemBackground作为Gallery(画廊)适配器中的各视图的默认参数。如果你没有设置,你就需要调整一些Gallery(画廊)的属性,比如间距。Gallery(画廊)中的视图应该使用Gallery.LayoutParams作为它们的布局参数类型。参见 Gallery tutorial 。XML属性:属性名称描述android:animationDuration设置布局变化时动画的转换所需的时间 阅读全文