Hi,
i need to move a label drawed by a Canvas.
i use the following Erel's example code to set a label with a Canvas
thank's
i need to move a label drawed by a Canvas.
i use the following Erel's example code to set a label with a Canvas
B4X:
Dim Cnv As Canvas
Cnv.Initialize(Activity)
Dim cjo As JavaObject = cvs
Dim jv As JavaObject = lblText 'lbltext is a label inserted into layout used by activity
jv.RunMethod("draw", Array(cjo.GetFieldJO("canvas"))) ' this draw the label
' but the label is positioned at 0,0
' i need to move that to 100dip, 50dip and Don't know how to
' IS this possible ?