Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 130ce740 authored by Alan Viverette's avatar Alan Viverette
Browse files

Use correct param for heightMode in RelativeLayout horizontal measure

Bug: 22824701
Change-Id: Ia0afd3edc20b8127605aef2653fa9b5472f41be2
parent 2d2ba516
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;