paint-brush
Design Your Own Shimmering UI in 25 Lines of Code with Composeby@leonidivankin
632 reads
632 reads

Design Your Own Shimmering UI in 25 Lines of Code with Compose

by Leonid IvankinJuly 17th, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

The full algorithm for adding compose to a project can be found here: eYou can copy the full code of the ShimmeringActivity. The color can be changed to white, as it should be in your project. The width, height, cornerRadius and radius of the circle, as in any other compose view, is necessary to make the animation for all elements work synchronously. The value of translateAnim will change over time.
featured image - Design Your Own Shimmering UI in 25 Lines of Code with Compose
Leonid Ivankin HackerNoon profile picture
Leonid Ivankin

Leonid Ivankin

@leonidivankin

L O A D I N G
. . . comments & more!

About Author

Leonid Ivankin HackerNoon profile picture
Leonid Ivankin@leonidivankin

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite