From e24ef6032f52cb754bfeb9ab32aae0a5cfa61f8a Mon Sep 17 00:00:00 2001 From: Romain Guy Date: Thu, 25 Jun 2009 13:01:55 -0700 Subject: Fixes #1940605. RelativeLayout was swapping horizontal and vertical dependencies. --- core/java/android/widget/RelativeLayout.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/java/android/widget/RelativeLayout.java') diff --git a/core/java/android/widget/RelativeLayout.java b/core/java/android/widget/RelativeLayout.java index 44cf9a41c40c..00bc21e3784e 100644 --- a/core/java/android/widget/RelativeLayout.java +++ b/core/java/android/widget/RelativeLayout.java @@ -343,7 +343,7 @@ public class RelativeLayout extends ViewGroup { ignore = findViewById(mIgnoreGravity); } - View[] views = mSortedVerticalChildren; + View[] views = mSortedHorizontalChildren; int count = views.length; for (int i = 0; i < count; i++) { View child = views[i]; @@ -356,7 +356,7 @@ public class RelativeLayout extends ViewGroup { } } - views = mSortedHorizontalChildren; + views = mSortedVerticalChildren; count = views.length; for (int i = 0; i < count; i++) { View child = views[i]; -- cgit v1.2.3