[android-developers] Re: how to set width of gridview from java code(dynamically)

2009-01-27 Thread kuldipsinh chauhan
On Wed, Jan 28, 2009 at 11:23 AM, jj wrote: > > how to set width of gridview from java code(dynamically), > is there any function to specify the width of grid view dynamically. > thank you > > > make the object of Griedview and objname.setWidth(int size);use this method --~--~-~--~~-

[android-developers] Re: Adding padding between buttons in a LinearLayout

2009-01-27 Thread kuldipsinh chauhan
y should use AbsoluteLayout instead of using LinearLayout On Tue, Jan 27, 2009 at 3:19 PM, Lutz Schönemann wrote: > > Hi, > > you can try to add a simple View object between the two Buttons. I > found this snippet in the Android source code: > > android:id="@+id/ok_button" >andro