[android-developers] Difference between Linearlayout's Gravity and LayoutGravity ?

2009-11-03 Thread GPU
Hi , In eclipse layout editor for LinearLayout under LinearLayout one gravity is there and under Misc LayoutGravity is there. What is the difference between these two? How to set the layout gravity of a linear layout from code? Thanks Gopu -- You received this message because you are

Re: [android-developers] Difference between Linearlayout's Gravity and LayoutGravity ?

2009-11-03 Thread Romain Guy
gravity = setting the gravity of the content of the view layout_gravity = setting the gravity of the view inside its parent On Tue, Nov 3, 2009 at 11:05 PM, GPU gopuraj...@gmail.com wrote: Hi , In eclipse layout editor for LinearLayout under LinearLayout one gravity is there and under Misc