Component to dynamically display a long text initially collapsed
class TestScreen : EquinoxScreen<EquinoxViewModel>() {
@Composable
override fun ArrangeScreenContent() {
val longText = "..."
ExpandableText(
containerModifier = Modifier
.widthIn(
max = 750.dp
),
textModifier = Modifier
.padding(
horizontal = 16.dp
),
text = longText,
textStyle = TextStyle(
textAlign = TextAlign.Justify,
)
)
}
}
expandabletext-android.mp4
expandabletext-desktop.mp4
If you need help using the library or encounter any problems or bugs, please contact us via the following links:
Thank you for your help!
If you want support project and developer
Crypto | Address | Network |
---|---|---|
3H3jyCzcRmnxroHthuXh22GXXSmizin2yp | Bitcoin | |
0x1b45bc41efeb3ed655b078f95086f25fc83345c4 | Ethereum | |
AtPjUnxYFHw3a6Si9HinQtyPTqsdbfdKX3dJ1xiDjbrL | Solana |
If you want support project and developer with PayPal
Copyright © 2025 Tecknobit