T
T
Tsuzukeru2021-02-09 15:18:28
Java
Tsuzukeru, 2021-02-09 15:18:28

How to implement textView transition to a new line?

60227d4301e99038366466.png
It is necessary to implement a similar line wrapping in textView. The keywords come from the server. How many there will be is unknown. How to do it?
I've tried a LinerLayout aligned horizontally, but in that case the textView wraps the text inside its container and turns into a two-line TextView.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Zagaevsky, 2021-02-09
@zagayevskiy

Replace spaces with non-breaking spaces.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question