From fde4607831ae007962f7941eb595a8e08036a66c Mon Sep 17 00:00:00 2001 From: Alex Florescu Date: Thu, 5 Nov 2020 14:52:22 +0000 Subject: [PATCH] Update javadoc error: should be gravity, not weight Test: n/a Change-Id: Idafb13858b734aaf7614e12eff4ca02549905da8 --- core/java/android/widget/FrameLayout.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/java/android/widget/FrameLayout.java b/core/java/android/widget/FrameLayout.java index 92e9a96e4897e..a5be202ec7706 100644 --- a/core/java/android/widget/FrameLayout.java +++ b/core/java/android/widget/FrameLayout.java @@ -462,7 +462,7 @@ public class FrameLayout extends ViewGroup { /** * Creates a new set of layout parameters with the specified width, height - * and weight. + * and gravity. * * @param width the width, either {@link #MATCH_PARENT}, * {@link #WRAP_CONTENT} or a fixed size in pixels