Design Your Own Shimmering UI in 25 Lines of Code with Compose
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.