summaryrefslogtreecommitdiff
path: root/core/java/android/widget/RelativeLayout.java
diff options
context:
space:
mode:
authorAndroid (Google) Code Review <android-gerrit@google.com>2009-06-25 13:02:50 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2009-06-25 13:02:50 -0700
commita1fb3950cf46f61800d2ca41d2020037d6b2307e (patch)
tree55339a9684817e04cb7c04dc2d33575160dc2c7e /core/java/android/widget/RelativeLayout.java
parente88d803183b4999965fd3cda856420ad69ee0a4a (diff)
parente24ef6032f52cb754bfeb9ab32aae0a5cfa61f8a (diff)
Merge change 5394 into donut
* changes: Fixes #1940605. RelativeLayout was swapping horizontal and vertical dependencies.
Diffstat (limited to 'core/java/android/widget/RelativeLayout.java')
-rw-r--r--core/java/android/widget/RelativeLayout.java4
1 files changed, 2 insertions, 2 deletions
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];