An open API service indexing awesome lists of open source software.

https://github.com/t8rin/marquee

Marquee effect implementation for Jetpack Compose
https://github.com/t8rin/marquee

android coroutines decoration effect jetpack-compose kotlin marquee

Last synced: 4 months ago
JSON representation

Marquee effect implementation for Jetpack Compose

Awesome Lists containing this project

README

          

# Marquee

This class will help to add xml like marquee effect to any composable

Copy Marquee.kt file to your repository and you are ready to engage!

```kotlin
//Usage example
Marquee(
modifier = Modifier, //Modifier of Marquee Box
params = defaultMarqueeParams(), //Params for specifying its appearance
) {
//Your content goes here
Text(text = "Very very long text, which doesn't fit whole screen and needed to be scrolled horizontally")
}
```

## Note
Also remember to add this dependencies to local build.gradle folder
```kotlin
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4")
implementation("androidx.compose.ui:ui:1.4.0-alpha03")
implementation("androidx.compose.foundation:foundation:1.4.0-alpha03")
```

## Find this repository useful? :heart:
Support it by joining __[stargazers](https://github.com/t8rin/marquee/stargazers)__ for this repository. :star:

And __[follow](https://github.com/t8rin)__ me for my next creations! 🤩

# License
```xml
Designed and developed by 2022 T8RIN

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```