/TwoBallRotationProgressBar

两个小球旋转的动画,一个清新的进度条

Primary LanguageJavaApache License 2.0Apache-2.0

TwoBallRotationProgressBar

两个小球旋转的动画,一个清新的进度条,ios版本请看这里IOS版本

##效果图 image

##Requirements


Min Sdk Version:14

因为Android2.x的用户量很少了,没有必要再兼容了,这里没有使用nineoldandroids这个兼容库来做属性动画

##How to use


当成一个普通的UI控件来使用

##Proguard


因为这里使用了@Keep注解来防止混淆,目前Gradle还没有这个混淆插件,所以要手动开启一下 在app/proguard-rules.pro里面添加

#手动启用support keep注解

#http://tools.android.com/tech-docs/support-annotations

-keep,allowobfuscation @interface android.support.annotation.Keep

-keep @android.support.annotation.Keep class *

-keepclassmembers class * {

@android.support.annotation.Keep *;

}

##License


Copyright 2015 hanhailong

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.