TextView works wrong with breakStrategy="balanced" and layout_width="wrap_content"
|Added at||2017-01-05 10:01|
I have such layout (I've removed some attributes, cause they really doesn't matter, full demo project is here):
Two important lines are
I expect that
Does anybody know how to fix this?
I expect that in this case width of view itself will be the same as the longest line.
I'm looking for any workaround. I need solution like in Hangouts chat. I can't figure out how it works.