Chachako
04/26/2021, 8:24 AMText
beginning is .
and maxLines
is 2
, it is inconsistent with the display effect of Android. Is this intentional?
As you can see, Annex 1 is the effect displayed by Android (expected), and Annex 2 is Compose.Chachako
04/26/2021, 8:26 AM.
, the display will be correct, this is my code:
Text(
text = item.name,
maxLines = 2,
overflow = TextOverflow.Ellipsis,
style = currentTypography.subtitle2
)
Jon Boekenoogen
04/26/2021, 12:43 PMSiyamed
04/26/2021, 4:46 PMSiyamed
04/26/2021, 4:46 PM