Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

RainingLights is a library designed to bring beautiful, dynamic loading animations to your Android apps using Jetpack Compose.

License

NotificationsYou must be signed in to change notification settings

razaghimahdi/RainingLightsAnimation

Repository files navigation

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 inKotlin 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.

Give a Star! ⭐

If you like or are using this project to learn or start your solution, please give it a star. Thanks!

MainScreenDetailScreen

To use the library in your own project, follow these steps:

Raining Light

Step 1. Add it in your project-levelbuild.gradle orsettings.gradle file:

Add the following code to your project-level build.gradle or settings.gradle file:

allprojects {repositories {...maven { url 'https://jitpack.io' }}}

Step 2. Add the dependency

Add the following dependency to your app-level build.gradle file:

dependencies {        implementation 'com.github.razaghimahdi:RainingLightsAnimation:1.0.2'}

Step 3. How to use

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


[8]ページ先頭

©2009-2025 Movatter.jp