摘要:
ViewPager是android扩展包v4包中的类,这个类可以让用户左右切换当前的view。我们首先来看看API对于这个类的表述:?123Layoutmanagerthatallowstheusertoflipleftandrightthroughpagesofdata.Yousupplyan... 阅读全文
摘要:
关于listview和button都要改变android原来控件的背景,在网上查找了一些资料不是很全,所以现在总结一下android的selector的用法。首先android的selector是在drawable/xxx.xml中配置的。先看一下listview中的状态:把下面的XML文件保存成你... 阅读全文