Android Question How to make a long sentence in a BBcodeview wrap automaticaly when it reaches the right border of the scrollview?

If I might have a very long sentence to show, but i don't know the content and length because it depends on users' input, then how can I make sure that the sentence won't be out of boundary of the innerpanel of the bbcodeview? How to make it wrap automatically?
As you can see in the attached picture, the third "depressed" are not completely shown when it reaches the boundary of bbcodeview. Wondering how to fix this?
Thanks!
 

Attachments

  • Screenshot_20230723-160050.png
    Screenshot_20230723-160050.png
    92.5 KB · Views: 102
It doesn't look as it should. Maybe the view is wider than the screen?
The view is as same wide as the screen. I believe it is because the size of a certain panel of bbcodeview is wider than expected. The problem now has been solved because I found that changing the size of mbase solves this problem. But I am still confused about the differences between resizing mbase and resizing bbcodeview.sv. or bbcodeview.sv.ScrollviewInnerPanel.
 
Upvote 0
It doesn't look as it should. Maybe the view is wider than the screen?
maybe you are right. when I say " The view is as same wide as the screen", I mean in designer, the view is as same wide as the screen. I didn't test the actually width of the view when my app is running.
 
Last edited:
Upvote 0
Top