-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d897091
commit f5a2975
Showing
3 changed files
with
40 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,37 @@ | ||
# WaveLoadingCircleView | ||
Wave Loading Circle View | ||
# CirclesLoadingView | ||
|
||
![circles_loading_view_preview](./demo.gif) | ||
|
||
[![](https://jitpack.io/v/quibbler01/WaveLoadingCircleView.svg)](https://jitpack.io/#quibbler01/WaveLoadingCircleView) | ||
|
||
Step 1. Add it in your root build.gradle at the end of repositories: | ||
|
||
allprojects { | ||
repositories { | ||
... | ||
maven { url 'https://jitpack.io' } | ||
} | ||
} | ||
|
||
Step 2. Add the dependency | ||
|
||
dependencies { | ||
implementation 'com.github.quibbler01:WaveLoadingCircleView:1.0.2' | ||
} | ||
|
||
Step 3. Add SwitchButton in your layout xml: | ||
|
||
<com.example.circlesloadingview.CirclesLoadingView | ||
android:id="@+id/circle_loading_view" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
app:animDelay="150" | ||
app:animDistance="30dp" | ||
app:animDuration="500" | ||
app:animInterpolator="accelerate" | ||
app:circleRadius="20dp" /> | ||
|
||
Step 4. Use it in your way. | ||
|
||
//find this SwitchButton | ||
val switchButton = binding.switchButton |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters