Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lopspower/CircularFillableLoaders
Realize a beautiful circular fillable loaders to be used for splashscreen π
https://github.com/lopspower/CircularFillableLoaders
android circularfillableloaders
Last synced: 3 months ago
JSON representation
Realize a beautiful circular fillable loaders to be used for splashscreen π
- Host: GitHub
- URL: https://github.com/lopspower/CircularFillableLoaders
- Owner: lopspower
- License: apache-2.0
- Created: 2015-12-11T14:17:28.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2021-07-21T07:33:22.000Z (over 3 years ago)
- Last Synced: 2024-06-16T01:32:51.178Z (5 months ago)
- Topics: android, circularfillableloaders
- Language: Java
- Homepage:
- Size: 153 MB
- Stars: 1,224
- Watchers: 28
- Forks: 164
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-github-android-ui - CircularFillableLoaders - η²Ύθ΄ηη―ε½’ε‘«ε ε θ½½ζζ (θΏεΊ¦ζ‘)
README
CircularFillableLoaders
=================[![Platform](https://img.shields.io/badge/platform-android-green.svg)](http://developer.android.com/index.html)
[![API](https://img.shields.io/badge/API-14%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=14)
[![Maven Central](https://img.shields.io/maven-central/v/com.mikhaellopez/circularfillableloaders.svg?label=Maven%20Central)](https://search.maven.org/artifact/com.mikhaellopez/circularfillableloaders)
[![Twitter](https://img.shields.io/badge/[email protected]?style=flat)](http://twitter.com/lopezmikhael)This is an Android project allowing to realize a beautiful circular fillable loaders to be used for splashscreen for example.
USAGE
-----To make a circular fillable loaders add CircularFillableLoaders in your layout XML and add CircularFillableLoaders library in your project or you can also grab it via Gradle:
```groovy
implementation 'com.mikhaellopez:circularfillableloaders:1.4.0'
```XML
-----```xml
```
You must use the following properties in your XML to change your CircularFillableLoaders.
| Properties | Type | Default |
| ----------------------- | ----------| ------------------------------- |
| `app:cfl_progress` | integer | 0 |
| `app:cfl_border` | boolean | true |
| `app:cfl_border_width` | dimension | 4dp |
| `app:cfl_wave_color` | color | BLACK |
| `app:cfl_wave_amplitude`| float | 0.05f (between 0.00f and 0.10f) |JAVA
-----```java
CircularFillableLoaders circularFillableLoaders = (CircularFillableLoaders)findViewById(R.id.yourCircularFillableLoaders);
// Set Progress
circularFillableLoaders.setProgress(60);
// Set Wave and Border Color
circularFillableLoaders.setColor(Color.RED);
// Set Border Width
circularImageView.setBorderWidth(10 * getResources().getDisplayMetrics().density);
// Set Wave Amplitude (between 0.00f and 0.10f)
circularFillableLoaders.setAmplitudeRatio(0.08);
```SUPPORT β€οΈ
-----Find this library useful? Support it by joining [**stargazers**](https://github.com/lopspower/CircularFillableLoaders/stargazers) for this repository βοΈ
And [**follow me**](https://github.com/lopspower?tab=followers) for my next creations πLICENCE
-----CircularFillableLoaders by [Lopez Mikhael](http://mikhaellopez.com/) is licensed under a [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0).
Based on a work at https://github.com/gelitenight/WaveView.