' Horizontally centered button, with a top margin of his height (size 200x80dip)
Button1.Initialize("")
Activity.AddView(Button1, 100%x-200dip/2, 80dip, 200dip, 80dip)
' Expandable button at the bottom, with a margin of 5%
Button2.Initialize("")
Acitivity.AddView(Button2, 5%x, 100%y-5%y-80dip, 100%x-5%x*2, 80dip )