Thanks well i looked at the tutorial and played around with the scripts. And yes I see it works....but what I don't understand is the point of having both options
What advantage or disadvantage is there over using activity.addview(button1 , x% , y%, x%, y%) as opposed to the script button1.settopandbottom and button1.setleftandright....they seem to do the same things?