RainingLights is a library designed to bring beautiful, dynamic loading animations to your Android apps using Jetpack Compose.
This project is a showcase for a library developed in Kotlin Jetpack Compose, whose main feature is the ability to have a live raining light background.
The library is easy to implement and use, providing developers with a simple API to add a live raining light background to their applications.
This project serves as a showcase for the RainingLights library, providing users with a working example of the library's implementation. The app is designed using modern principles and the latest Android development frameworks, including Jetpack Compose and Material Design components.
If you like or are using this project to learn or start your solution, please give it a star. Thanks!
MainScreen | DetailScreen |
---|---|
To use the library in your own project, follow these steps:
Add the following code to your project-level build.gradle or settings.gradle file:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Add the following dependency to your app-level build.gradle file:
dependencies {
implementation 'com.github.razaghimahdi:RainingLightsAnimation:1.0.2'
}
To use the library, simply create a RainingLightsBox composable function and wrap your existing content inside it, as shown in the example code below:
RainingLightsBox(
modifier = Modifier
.fillMaxSize()
.background(color = MaterialTheme.colors.background)
) {
// content
}
That's it! With these simple steps, you can now add beautiful, dynamic loading animations to your Android apps using the RainingLights library.
doc_2023-03-26_18-34-23.mp4
Developed by Mahdi Razzaghi Ghaleh