OSDN Git Service

docs: Update RelativeLayout.LayoutParams JavaDoc comments
authorJoe Fernandez <joefernandez@google.com>
Wed, 26 Apr 2017 05:28:27 +0000 (22:28 -0700)
committerJoe Fernandez <joefernandez@google.com>
Wed, 26 Apr 2017 05:38:45 +0000 (22:38 -0700)
commita1bd1712d55c2adf737ca9327e3bec826808191e
tree32c9b5bec24028c7592e47c0f8ab6a65695f2848
parent6fba10b037021a133828f3eb68f3621140bc0f65
docs: Update RelativeLayout.LayoutParams JavaDoc comments

Added changes to make purpose/usage of RelativeLayout.LayoutParams more
clear:

- clarify the attributes are set on a view contained in a relative layout
- clarify that relative layout uses these values to position the view
- add note that these values are ignored if view is not contained in a
relative layout
- cross-link code sample in Relative Layout guide
- cross-link guide Layout guide to clarify layout params vs regular
attributes

Test: docs change only. Tested with a docs test build.
Change-Id: I4fe1088594c998cee4ff0b2f6295579956c19d6f
core/java/android/widget/RelativeLayout.java