摘要: Shape在Android中设定各种形状,今天记录下,由于比较简单直接贴代码。 Shape子属性简单说明一下: gradient -- 对应颜色渐变。 startcolor、endcolor就不多说了。 android:angle是指从哪个角度开始变.solid -- 填充。stroke -- 描边 阅读全文
posted @ 2016-03-16 16:14 chaoer 阅读(815) 评论(0) 推荐(0)
摘要: 实际开发中个人觉得用的比较多是BaseAdapter,尽管使用起来比其他适配器有些麻烦,但是使用它却能实现很多自己喜欢的列表布局,比如ListView、GridView、Gallery、Spinner等等。它是直接继承自接口类Adapter的,使用BaseAdapter时需要重写很多方法,其中最重要 阅读全文
posted @ 2016-03-16 11:56 chaoer 阅读(198) 评论(0) 推荐(0)