CircularImageviewRotation
A library support circular imageview with rotation animation
Install / Use
/learn @annhienktuit/CircularImageviewRotationREADME
Circular Imageview with Rotate Animation
This is a fast and efficient open source custom imageview for Android that allow to easy implement disc animation that usually appear in Music Players.
It uses custom View and support animation
- Start Animation
- Cancel Animation
- Pause Animation
- Set Duration
Sample
<p align="center"> <img src="https://i.imgur.com/I61nYTp.gif" width="300" height="530" /> </p>Installation
Gradle
Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
maven { url 'https://jitpack.io' }
}
}
Add the dependency
dependencies {
implementation 'com.github.annhienktuit:CircularImageviewRotation:1.0.8'
}
Note: If this error appear: "Build was configured to prefer settings repositories over project repositories" you can workaround like this:
Replace the line:
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
with
repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)
Usage/Examples
var imageview: CircularImageView
var animation: RotateAnimation = RotateAnimation(this, imageview)
animation.setDuration(20000) //set duration
animation.startAnimation() //start
animation.pause() //pause
animation.resume() //resume
animation.cancel() //cancel
Related Skills
openhue
349.0kControl Philips Hue lights and scenes via the OpenHue CLI.
sag
349.0kElevenLabs text-to-speech with mac-style say UX.
weather
349.0kGet current weather and forecasts via wttr.in or Open-Meteo
tweakcc
1.6kCustomize Claude Code's system prompts, create custom toolsets, input pattern highlighters, themes/thinking verbs/spinners, customize input box & user message styling, support AGENTS.md, unlock private/unreleased features, and much more. Supports both native/npm installs on all platforms.
