2

Is it possible to wrap a textview around a textview, where the 2nd textview would wrap to the next line under the first textview?

For example:

<This is one textview> <This is 
another textview>

I have tried using android:layout_weight="1" and relative layouts, however, they dont produce this effect.

heero
  • 1,941
  • 5
  • 23
  • 33

3 Answers3

4

No. If you're looking to format the two bits of text differently, consider using spans within one TextView.

kabuko
  • 36,028
  • 10
  • 80
  • 93
0

This will be helpful to you. You can get same effect with HTML in text view

How to display HTML in TextView?

Community
  • 1
  • 1
kodeshpa
  • 549
  • 5
  • 14
0

This is impossible because the "another textview" would have a non-rectangular widget area then.

Sergii Rudchenko
  • 5,170
  • 2
  • 28
  • 24