Merge change 5394 into donut
* changes: Fixes #1940605. RelativeLayout was swapping horizontal and vertical dependencies.
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user