2

I Want to make this type of Layout.

Here the text view acquired place according to space.

And I am getting this.here the text is not spread according to the empty space.

Is there any way to achieve that type of layout? please help me, anyone, I am new to android.

gaurav kumar
  • 368
  • 2
  • 8

1 Answers1

0

You can use this library to wrap text around child layouts. https://github.com/deano2390/FlowTextView

Here is a similar question that has been asked before, you may refer to it as well.

How to layout text to flow around an image

Jeevandeep Saini
  • 128
  • 1
  • 10
  • is it possible to set text in flowTextView like "flowTextView.setText(R.string.dummy_text)" this shows me error when I try to set like this. – gaurav kumar May 30 '21 at 05:09
  • No, it is not possible. See this link [How to use](https://github.com/deano2390/FlowTextView/blob/master/README.md#how-to-use) – Jeevandeep Saini May 30 '21 at 07:19