1 Star 0 Fork 8

惊天 / LoadingView

forked from Jenly / LoadingView 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

LoadingView

Download Jitpack CI CircleCI API License Blog QQGroup

LoadingView for Android 是一个圆弧加载过渡动画,圆弧个数,大小,弧度,渐变颜色,完全可配。

Gif 展示

Image

LoadingView自定义属性说明(默认渐变色)

属性 值类型 默认值 说明
lvCount integer 1 圆弧数量
lvStartAngle integer 0 圆弧开始角度,默认三点钟方向
lvSweepAngle integer 360 圆弧扫描角度范围
lvStrokeWidth dimension 3dp 笔画描边的宽度
lvMaxSpeed integer 5 最大速度
lvMinSpeed integer 3 最小速度
lvCirclePadding dimension 2dp 圆弧之间的间距
lvRefreshInterval integer 15 刷新间隔时间,单位ms
lvColor color 圆弧颜色,默认渐变色
lvCounterclockwise boolean false 是否逆时针方向旋转

引入

Maven:

<dependency>
  <groupId>com.king.view</groupId>
  <artifactId>loadingview</artifactId>
  <version>1.0.0</version>
  <type>pom</type>
</dependency>

Gradle:

implementation 'com.king.view:loadingview:1.0.0'

Lvy:

<dependency org='com.king.view' name='loadingview' rev='1.0.0'>
  <artifact name='$AID' ext='pom'></artifact>
</dependency>
如果Gradle出现compile失败的情况,可以在Project的build.gradle里面添加如下:(也可以使用上面的GitPack来complie)
allprojects {
    repositories {
        maven { url 'https://dl.bintray.com/jenly/maven' }
    }
}

示例

布局示例

    <com.king.view.load.LoadingView
        android:id="@+id/loadingView"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"/>

更多使用详情,请查看app中的源码使用示例

版本记录

v1.0.0:2019-8-9

  • LoadingView初始版本

赞赏

如果您喜欢LoadingView,或感觉LoadingView帮助到了您,可以点右上角“Star”支持一下,您的支持就是我的动力,谢谢 :smiley:

您也可以扫描下面的二维码,请作者喝杯咖啡 :coffee:

关于我

Name: Jenly

Email: jenly1314#gmail.com / jenly1314#vip.qq.com

CSDN: jenly121

博客园: jenly

Github: jenly1314

加入QQ群: 20867961

The MIT License (MIT) Copyright (c) 2019 Jenly Yu Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

:lollipop: LoadingView 是一个圆弧加载过渡动画,圆弧个数,大小,弧度,渐变颜色,完全可配。 展开 收起
Kotlin
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Kotlin
1
https://gitee.com/andios/LoadingView.git
git@gitee.com:andios/LoadingView.git
andios
LoadingView
LoadingView
master

搜索帮助