您好,欢迎来到源码搜藏!分享精神,快乐你我!提示:担心找不到本站?在百度搜索“源码搜藏”,网址永远不丢失!
  • 首 页
  • 在线工具
  • Android水波按进度上升的环形进度条

    时间:2016-08-14 20:24 来源:互联网 作者:源码搜藏 浏览:收藏 挑错 推荐 打印

    water-wave-progress

    水波按进度上升的环形Android进度条 理论上是可以在2.3及以下的版本上使用的(没做成控件之前确实如此,但是现在死活不显示,又不报错,不知道什么原因)

    so,限制4.0以上 让2.3见鬼去吧,,还有4.1.1 水波是方的,官方不支持我也没办法,如果用图片画的话效率,速度会差很多

    见名知义吧,很简单的,全都是非必填,,布尔值默认为true

    <?xml version="1.0" encoding="utf-8"?>
    <resources>
    
        <declare-styleable name="WaterWaveProgress">
            <attr name="progressWidth" format="dimension" />
            <attr name="fontSize" format="dimension" />
            <attr name="progressColor" format="color" />
            <attr name="progressBgColor" format="color" />
            <attr name="waterWaveColor" format="color" />
            <attr name="waterWaveBgColor" format="color" />
            <attr name="progress2WaterWidth" format="dimension"/>
            <attr name="showProgress" format="boolean"/>
            <attr name="showNumerical" format="boolean"/>
            <attr name="textColor" format="color" />
            <attr name="progress" format="integer" />
            <attr name="maxProgress" format="integer" />
        </declare-styleable>
    
    </resources>

    注释写得很全,再看不懂就不关我的事了 :)

    邮箱: yunshangcn@gmail.com & yunshangcn@qq.com 欢迎交流

    p2en.gif

    多图

        
    Android水波按进度上升的环形进度条转载请注明出处http://www.codesocang.com/kj/process/33365.html 源码搜藏网所有源码来自用户上传分享,版权问题及牵扯到商业纠纷均与源码搜藏网无关
    标签: