I'm creating a B4X Custom View
I want to set the background of a label to the BitmapDrawable set in the properties of the Base Background in the Designer
The following code results in an empty background for the label, while other properties are correctly passed (like Text)
I want to set the background of a label to the BitmapDrawable set in the properties of the Base Background in the Designer
The following code results in an empty background for the label, while other properties are correctly passed (like Text)
B4X:
'Base type must be Object
Public Sub DesignerCreateView (Base As Object, Lbl As Label, Props As Map)
mBase = Base
Lbl_button.Initialize("")
Lbl_button.Background = Lbl.Background
...