KdLoadingView
This is a circular loading view for android.
Motivation
In default progress view, its hard to change drawable, color and animation. So this project was created to avoid these limitation and create custom easy customizable loading view.
Getting started
Installing
To use this library simply import it by placing the following line under dependencies in your app module's build.gradle file
This library is posted in jCenter
Gradle
implementation 'in.unicodelabs.sorbh:kdloadignview:1.0.0'
Maven
in.unicodelabs.sorbh
kdloadingview
1.0.0
pom
Usage
After Importing this library you can directly use this view in your view xml
">
For now you can use 3 custom attributes
- app:tint="@color/colorPrimary" - Color for loading view
- app:animation="@anim/rotate" - Can set custom animaton drawable
- app:anim_duration="2000" - Animation time in ms
Screenshots
Author
-
Saurabh K Sharma - GIT
I am very new to open source community. All suggestion and improvement are most welcomed.
Contributing
- Fork it (https://github.com/sorbh/KdLoadingView/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request
License
Copyright 2018 Saurabh Kumar Sharma
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.