summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Android (Google) Code Review <android-gerrit@google.com> 2009-06-25 13:04:23 -0700
committer The Android Open Source Project <initial-contribution@android.com> 2009-06-25 13:04:23 -0700
commit94e942107bf10fcf459b886b9e492f09c7c0a9c1 (patch)
tree5fc26084a678337df714de3f8b7235815eb0a309
parent2bdd7d816aec5575e6da1b5e8af8f25d416ae828 (diff)
parenta1fb3950cf46f61800d2ca41d2020037d6b2307e (diff)
am a1fb3950: Merge change 5394 into donut
Merge commit 'a1fb3950cf46f61800d2ca41d2020037d6b2307e' * commit 'a1fb3950cf46f61800d2ca41d2020037d6b2307e': Fixes #1940605. RelativeLayout was swapping horizontal and vertical
-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];