[android-developers] Re: how to set button's x y position in layout

2009-10-05 Thread James Yum
Hi, You could use an AbsoluteLayout and specify android:layout_x and android:layout_y in the children. However, AbsoluteLayouts aren't commonly used. Are the buttons really positioned in some arbitrary location? If they are just a few pixels away from a corner or edge or some sort of anchor, there

[android-developers] Re: how to set button's x y position in layout

2009-10-05 Thread zeeshan
can anybody help ? waiting for the reply On Oct 5, 2:04 pm, zeeshan wrote: > Hi Dear, > > i am trying to display a linear layout , say at setpadding > (10,10,0,0); > now i need to put some buttons at particular xy position in layout. > > Button button = new Button(_context); > button.setPadding(