From b0c09e4ba6a2bc8d718c992de6a0297d1ea4a8cb Mon Sep 17 00:00:00 2001 From: Andrew Solovay Date: Mon, 16 Dec 2019 14:52:12 -0800 Subject: [PATCH] docs: Fixed typo Fixed a clear copy/paste error, docs had said "call getHeight() to get the width" when it should have been "...to get the height". Skipping staging since it's a simple text change. Change-Id: Ic06557ac38517f409943585054835d774240ccf3 Test: make ds-docs Exempt-from-owner-approval: Docs-only change Bug: 144537947 --- core/java/android/view/View.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/java/android/view/View.java b/core/java/android/view/View.java index d85a58476cf9b..a0eab1fb1b1bb 100644 --- a/core/java/android/view/View.java +++ b/core/java/android/view/View.java @@ -15602,7 +15602,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback, * by the most recent call to {@link #measure(int, int)}. This result is a bit mask * as defined by {@link #MEASURED_SIZE_MASK} and {@link #MEASURED_STATE_TOO_SMALL}. * This should be used during measurement and layout calculations only. Use - * {@link #getHeight()} to see how wide a view is after layout. + * {@link #getHeight()} to see how high a view is after layout. * * @return The measured height of this view as a bit mask. */