Android Question [Solved]BBCodeview problem

William Lancee

Active Member
Licensed User
B4X:
    BBCV.mBase.SetLayoutAnimated(0, 0, 0, Activity.width, Activity.Height)
    TextEngine.Initialize(Activity)
    BBCV.Text = $"[Alignment=Center][TextSize=40][Color=Black][b]This is a centered Title[/b][/Color][/TextSize][/Alignment]"$

This results in a truncated text. I am not sure where to put this information.
 

Attachments

William Lancee

Active Member
Licensed User
You are right again. That line in combination with the wrong anchors (left, top) caused my problem. Centered anchors without that line solved it.

Edit: That in combination with a landscape orientation where activity width>height.
 
Last edited:
Top