> It would be great though if things like these (i.e. that > RelativeLayout ignores layout_gravity) would appear somewhere in the > documentation. It's not immediately apparent to people why for some > layouts the gravity is simply ignored, and for others it's not.
Well no, it's an assumption you made. If you refer to the documentation of RelativeLayout's LayoutParams, you will see no mention of layout_gravity: http://d.android.com/reference/android/widget/RelativeLayout.LayoutParams.html The role of the documentation is not to explain everything a class does NOT do :) -- Romain Guy Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

