| ▲ | comex 2 hours ago | ||||||||||||||||||||||||||||
I notice that
is one of the first pieces of text in the first screenshot. With the k on its own line like that. Not usually something I’d comment on, but if you’re showing off a redesign… | |||||||||||||||||||||||||||||
| ▲ | meta-level 2 minutes ago | parent | next [-] | ||||||||||||||||||||||||||||
But it's a fork, isn't it? | |||||||||||||||||||||||||||||
| ▲ | katzenq 2 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
That app itself also has some of the most revolting UI I've seen in a modern Android app (Vertical gradient filled buttons with thick gray strokes surrounded by not-quite-Material UI widgets, in a nonsensical custom control they had to go out of their way to make rather than just use a dropdown). Android developers really just don't care. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| ▲ | tadfisher 2 hours ago | parent | prev [-] | ||||||||||||||||||||||||||||
It's annoying and easy to forget, but you have to enable the high-quality line break algorithm per Text component in Compose. Or you have to set two flags (maxLines=1 and overflow=TextOverflow.Ellipsis). I usually end up with a TitleText and BodyText component in my codebases that set these flags internally so I don't have to remember. | |||||||||||||||||||||||||||||