https://github.com/alexstyl/radiustransition
Transition between a circle to a square. ⚪️→ ⬜️
https://github.com/alexstyl/radiustransition
android animation delight transition
Last synced: 10 months ago
JSON representation
Transition between a circle to a square. ⚪️→ ⬜️
- Host: GitHub
- URL: https://github.com/alexstyl/radiustransition
- Owner: alexstyl
- Created: 2018-03-30T14:49:56.000Z (about 8 years ago)
- Default Branch: main
- Last Pushed: 2020-07-03T07:54:35.000Z (almost 6 years ago)
- Last Synced: 2025-05-19T20:06:07.994Z (about 1 year ago)
- Topics: android, animation, delight, transition
- Language: Kotlin
- Homepage:
- Size: 1.26 MB
- Stars: 412
- Watchers: 7
- Forks: 34
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RadiusTransition
A showcase of how to [transition](https://developer.android.com/training/transitions/custom-transitions.html) between a circlular image to a square one across activities. The image in this example is fetched via [Glide](https://github.com/bumptech/glide).
# Preview

# The Transition
In reality, all you need to know in terms of transition is inside the [RadiusTransition](https://github.com/alexstyl/RadiusTransition/blob/main/app/src/main/java/com/alexstyl/radiustransition/transition/RadiusTransition.kt) class. This repo shows you how to use it and how to combine it with multiple transitions such as the ChangeShape and ArcMotion for a nicer effect.