I am trying to add a view to the bbcodeview panel (such as a colored frame)
B4X:
Bbcodeview1.text = $"testing"$
Dim pnl as b4xview = xui.createpanel("")
Bbcodeview1.sv.Scrollviewinnerpanel.addview(pnl,0,0,100%x,30dip)
pnl.color = xui.color_lightgtay
pnl.sendtoback
It came out with something as I wanted at the beginninf, the pnl acting like a gray-coloured background frame. But when the bbcodeview is once scrolled down and back to the top, the pnl will be sent to the front and thus blocking the bbcodeview content. Any way to solve it or a better way to draw a background frame here?
I know but views added in the view tag will be listed within the content, like the button in the example. But what i want to do is to add somthing like a background frame i.e. the text and conent appears at its fronter layer.