Sub Activity_Create(FirstTime As Boolean)'Do not forget to load the layout file created with the visual designer. For example:'Activity.LoadLayout("Layout1")Activity.Color = Colors.Black
Label1.Initialize("")
Label1.Text = "Testing"
Label1.TextSize = 100
Label1.TextColor = Colors.BlueActivity.AddView(Label1, 20Dip, 20Dip, 500dip, 500dip)
Private jo AsJavaObject = Label1' Private Radius = 4dip, dx=0dip, dy=0dip As FloatPrivate Radius = 10dip, dx=0dip, dy=0dipAs Float
jo.RunMethod("setShadowLayer", Array(Radius, dx,dy, Colors.Yellow))End Sub