I noticed some strange behaviour I was hoping someone could explain, since I'm quite new to B4A.
I have a "main" layout which contains a panel. When I load a layout to this panel it loses its color and / or becomes transparent. At first I thought the second layout was overwriting the panel but when I change the color of the panel after loading the layout its still there.
Ie
Dim pnlTst as panel
Activity.loadlayout("main")
pnlTst.loadlayout("Results")
Can't see the panel but add:
dim cd as Drawable
cd.initilise(colors.argb(60,255,255,255),5dip)
pnlTst.background = cd
can see the panel again.
I have a "main" layout which contains a panel. When I load a layout to this panel it loses its color and / or becomes transparent. At first I thought the second layout was overwriting the panel but when I change the color of the panel after loading the layout its still there.
Ie
Dim pnlTst as panel
Activity.loadlayout("main")
pnlTst.loadlayout("Results")
Can't see the panel but add:
dim cd as Drawable
cd.initilise(colors.argb(60,255,255,255),5dip)
pnlTst.background = cd
can see the panel again.