Merge "Use correct param for heightMode in RelativeLayout horizontal measure"
This commit is contained in:
committed by
Android (Google) Code Review
commit
d920ac6e6f
@@ -704,7 +704,7 @@ public class RelativeLayout extends ViewGroup {
|
||||
}
|
||||
|
||||
final int heightMode;
|
||||
if (params.width == LayoutParams.MATCH_PARENT) {
|
||||
if (params.height == LayoutParams.MATCH_PARENT) {
|
||||
heightMode = MeasureSpec.EXACTLY;
|
||||
} else {
|
||||
heightMode = MeasureSpec.AT_MOST;
|
||||
|
||||
Reference in New Issue
Block a user