Is it possible to achieve `android:ellipsize="midd...
# compose
m
Is it possible to achieve
android:ellipsize="middle"
behavior with
Text
composable? I know there is
TextOverflow.Ellipsis
but how do I specify if it should be in the middle, end, etc?
🚫 1
👀 1
c
Can you show how this would look like? I'm not really understanding how you would want ellipsize in the middle. Is that actually doable in xml?
o
Definitely doable in XML (see example provided by @mzgreen)
m
Here is an example of the ellipsis in the middle
@Siyamed do you know if this is planned for 1.0? 🙂
s
it is not planned unfortunately. looks like we dont have a ticket about it either. can you please create a ticket. the reason it was not implemented was the not to be too platform specific (otherwise the feature is already on android)
m
I see, yeah I'll create a ticket. Thanks!
o
@mzgreen would be nice if you copy back the ticket URL once done, I'd like to follow it. Thanks!
👍 2
m