Sub Activity_Create(FirstTime As Boolean)
p.SetScreenOrientation(1)
Activity.LoadLayout("torcia")
camera1.Initialize(panel1, "camera1")
img1.SetLayout(0%x,0%y,100%x,20%y)
btnAccendi.SetLayout(35%x,25%y,25%x,15%y)
btnStop.SetLayout(35%x,43%y,25%x,15%y)
btnStrobo.SetLayout(30%x,60%y,35%x,15%y)
sp1.SetLayout(30%x,82%y,35%x,15%y)
Label1.SetLayout(23%x,72%y,50%x,15%y)
sp1.Add("10 Ms")
sp1.Add("30 Ms")
sp1.Add("50 Ms")
sp1.Add("80 Ms")
sp1.Add("100 Ms")
sp1.Add("130 Ms")
sp1.Add("150 Ms")
sp1.Add("180 Ms")
sp1.Add("200 Ms")
sp1.Add("230 Ms")
sp1.Add("250 Ms")
sp1.Add("280 Ms")
sp1.Add("300 Ms")
sp1.Add("330 Ms")
sp1.Add("350 Ms")
sp1.Add("380 Ms")
sp1.Add("400 Ms")
sp1.Add("430 Ms")
sp1.Add("450 Ms")
sp1.Add("480 Ms")
sp1.Add("500 Ms")
End Sub