Skip to content

tommybuonomo/rotationdotsloading

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Fast Circle Loading Animation

A cool fast circle loading animation inspired by this post on MaterialUp

ezgif com-video-to-gif 6 ezgif com-video-to-gif 7 ezgif com-video-to-gif 13 ezgif com-video-to-gif 14

##How to ####Gradle

dependencies {
    compile 'com.tbuonomo.andrui:fastcircleloading:1.0.0'
}

####In your XML layout

<com.tbuonomo.fastcircleloading.FastCircleLoading
    android:layout_width="30dp"
    android:layout_height="30dp"
    android:layout_alignParentRight="true"
    android:layout_alignParentTop="true"
    app:backgroundColor="#D50000"
    app:pointColor="#424242"
    app:pointSize="5dp"
    app:interpolator="anticipate_overshoot"
    app:animationDuration="5000"/>

####Attributes

Attribute Description
pointColor Color of the points
backgroundColor Color of the background circle
pointSize Size of the points in dp (by default 5dp)
interpolator The interpolator to use for the points animation (by default fastOutSlowIn)
animationDuration Step duration of the animation in ms (by default 2000)

##License Copyright 2016 Tommy Buonomo

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages