Skip to content

T8RIN/Marquee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

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!

//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

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? ❤️

Support it by joining stargazers for this repository. ⭐
And follow me for my next creations! 🤩

License

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.

Releases

No releases published

Packages

No packages published

Languages