# loading-dots
**Repository Path**: HarmonyOS-tpc/loading-dots
## Basic Information
- **Project Name**: loading-dots
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2021-09-17
- **Last Updated**: 2023-04-17
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# LoadingDots
Customizable bouncing dots view for smooth loading effect. Mostly used in chat bubbles to indicate the other person is typing.
# Features
* LoadingDots animated view
* Use in xml
* Customize dots appearance
* Customize animation behavior
* Customize animation duration
# Usage Instructions
1. For basic usage, simply add to layout xml:
2. To customize, simply use the needed Component attributes:
3. Using programming syntax
LoadingDots loadingDots = new LoadingDots(getContext());
loadingDots.setAutoPlay(true);
loadingDots.setDotsCount(DOTS_COUNT);
loadingDots.setDotsColor(Color.RED.getValue());
# Installation Instructions
1.For using loading_dots module in a sample application, include the below library dependency
Modify entry build.gradle as below :
dependencies {
compile project(':loading_dots')
}
2.For using loading_dots module in a separate application, make sure to add the "loading_dots.har" in libs folder of "entry" module.
Modify entry build.gradle as below :
dependencies {
implementation fileTree(dir: 'libs', include: ['*.har', '*.jar'])
}
3.For using loading_dots from the remote repository, add the below dependency in "entry" build.gradle.
Modify entry build.gradle as below :
dependencies {
implementation 'io.openharmony.tpc.thirdlib:loading-dots:1.0.0'
}