Merge "DO NOT MERGE Use correct param for heightMode in RelativeLayout horizontal measure" into mnc-dr-dev am: 4823493647 am: ac02be311d

am: 41707942a8

* commit '41707942a8aea8c9122482f28f2fd599e55d0791':
  DO NOT MERGE Use correct param for heightMode in RelativeLayout horizontal measure
This commit is contained in:
Alan Viverette
2015-10-20 22:27:25 +00:00
committed by android-build-merger

View File

@@ -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;