diff options
| author | 2017-04-27 04:53:44 +0000 | |
|---|---|---|
| committer | 2017-04-27 04:53:44 +0000 | |
| commit | 210e18554a6b01c1cfdf875cdd58539c18e2d6d0 (patch) | |
| tree | fa55b0df12e4c544403ef8d34f97a233d4be720d | |
| parent | 6d07726bbd2f566539e57c1c45fd528eddc5254b (diff) | |
| parent | 6e76d0dd0a6b96ad0a516c57b02b0d42035f6cd3 (diff) | |
Merge "docs: Update RelativeLayout.LayoutParams JavaDoc comments" into oc-dev am: b312d38868
am: 6e76d0dd0a
Change-Id: I6cd2c025531f9bfec8fe811c0c949226ff59fffd
| -rw-r--r-- | core/java/android/widget/RelativeLayout.java | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/core/java/android/widget/RelativeLayout.java b/core/java/android/widget/RelativeLayout.java index 67bfe5e606c5..181ad31deddc 100644 --- a/core/java/android/widget/RelativeLayout.java +++ b/core/java/android/widget/RelativeLayout.java @@ -1174,7 +1174,19 @@ public class RelativeLayout extends ViewGroup { } /** - * Per-child layout information associated with RelativeLayout. + * Specifies how a view is positioned within a {@link RelativeLayout}. + * The relative layout containing the view uses the value of these layout parameters to + * determine where to position the view on the screen. If the view is not contained + * within a relative layout, these attributes are ignored. + * + * See the <a href=“https://developer.android.com/guide/topics/ui/layout/relative.html”> + * Relative Layout</a> guide for example code demonstrating how to use relative layout’s + * layout parameters in a layout XML. + * + * To learn more about layout parameters and how they differ from typical view attributes, + * see the <a href=“https://developer.android.com/guide/topics/ui/declaring-layout.html#attributes”> + * Layouts guide</a>. + * * * @attr ref android.R.styleable#RelativeLayout_Layout_layout_alignWithParentIfMissing * @attr ref android.R.styleable#RelativeLayout_Layout_layout_toLeftOf |