Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/razaghimahdi/android-loading-dots
A library which allows you to have some beautiful loading with dots, for both Java and Kotlin in XML
https://github.com/razaghimahdi/android-loading-dots
android android-library custom-view java kotlin kotlin-android loading loading-animations loading-indicator progress-circle xml
Last synced: 3 months ago
JSON representation
A library which allows you to have some beautiful loading with dots, for both Java and Kotlin in XML
- Host: GitHub
- URL: https://github.com/razaghimahdi/android-loading-dots
- Owner: razaghimahdi
- License: apache-2.0
- Created: 2020-10-18T07:54:37.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-11-11T06:39:29.000Z (about 1 year ago)
- Last Synced: 2023-11-11T07:26:52.916Z (about 1 year ago)
- Topics: android, android-library, custom-view, java, kotlin, kotlin-android, loading, loading-animations, loading-indicator, progress-circle, xml
- Language: Java
- Homepage: https://github.com/razaghimahdi/Android-Loading-Dots
- Size: 353 KB
- Stars: 16
- Watchers: 2
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Android-Loading-Dots
A library which allows you to have some beautiful loading with dots, for both Java and Kotlin in XML,
> If you need **Jetpack Compose** version of this library then click [here](https://github.com/razaghimahdi/Compose-Loading-Dots).
## Give a Star! ⭐
If you like or are using this project to learn or start your solution, please give it a star. Thanks![![](https://jitpack.io/v/razaghimahdi/Android-Loading-Dots.svg)](https://jitpack.io/#razaghimahdi/Android-Loading-Dots)
### Step 1. Add it in your project-level `build.gradle` or `settings.gradle` file:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}### Step 2. Add the dependency
dependencies {
implementation 'com.github.razaghimahdi:Android-Loading-Dots:1.3.2'
}### Step 3. How to use
**XML:**
```xml
```
### Step 4. How to initial
```java
LoadingWavy LoadingWavy=findViewById(R.id.loadingWavy);
LoadingWavy.setSize(30);
LoadingWavy.setDotsCount(3);
LoadingWavy.setDuration(400);
LoadingWavy.setColor(Color.parseColor("#FF3700B3"));
```OR
```kotlin
val LoadingWavy: LoadingWavy = findViewById(R.id.loadingWavy)
LoadingWavy.setSize(30)
LoadingWavy.setDotsCount(3)
LoadingWavy.setDuration(400)
LoadingWavy.setColor(Color.parseColor("#FF3700B3"))
```https://user-images.githubusercontent.com/61207818/214298326-3f5d8aa2-38c5-4dab-ab5f-695639f5ff0f.mp4
Developed by Mahdi Razzaghi Ghaleh