btn1.Initialize("Button1")
btn1.Text="Button1"
btn2.Initialize("Button2")
btn2.Text="Button2"
btn3.Initialize("Button3")
btn3.Text="Button3"
btn4.Initialize("Button4")
btn4.Text="Button4"
pnl1.Initialize("")
pnl1.Color=Colors.Transparent
pnl1.AddView(btn1,25%x-50dip,20%y,100dip,100dip)
pnl1.AddView(btn2,75%x-50dip,20%y,100dip,100dip)
pnl1.AddView(btn3,25%x-50dip,60%y,100dip,100dip)
pnl1.AddView(btn4,75%x-50dip,60%y,100dip,100dip)
Activity.AddView(pnl1,0dip,0dip,100%x,100%y)