Merge "DO NOT MERGE Use correct param for heightMode in RelativeLayout horizontal measure" into mnc-dr-dev
am: 4823493647
* commit '482349364715dfcd87dc83e0913fc60dc6df0497':
DO NOT MERGE Use correct param for heightMode in RelativeLayout horizontal measure
This commit is contained in:
@@ -704,7 +704,7 @@ public class RelativeLayout extends ViewGroup {
|
|||||||
}
|
}
|
||||||
|
|
||||||
final int heightMode;
|
final int heightMode;
|
||||||
if (params.width == LayoutParams.MATCH_PARENT) {
|
if (params.height == LayoutParams.MATCH_PARENT) {
|
||||||
heightMode = MeasureSpec.EXACTLY;
|
heightMode = MeasureSpec.EXACTLY;
|
||||||
} else {
|
} else {
|
||||||
heightMode = MeasureSpec.AT_MOST;
|
heightMode = MeasureSpec.AT_MOST;
|
||||||
|
|||||||
Reference in New Issue
Block a user