Road Runner is a library for android which allow you to make your own loading animation using a SVG image
Road Runner is a library for android which allow you to make your own loading animation using a SVG image
Road Runner is a library for android which allow you to make your own loading animation using a SVG image
The library use the standard String path information (only one path) and the original size to works, you need to obtain it using a external tool, the path information look like this:
…And the width and height can be found in the svg definition:
height="316"
width="512"* From 0f to 1f, 1f is all the path
* From 0f to 1f, 1f is all the path
Add repository
repositories {
maven {
url "http://dl.bintray.com/glomadrian/maven"
}
}Add dependency
compile 'com.github.glomadrian:roadrunner:1.0@aar'Adrián García Lomas -
Copyright 2016 Adrián García Lomas
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.No open issues yet, or sync has not completed.