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

Commit ff65c8c5 authored by Romain Guy's avatar Romain Guy
Browse files

Make vertical LinearLayouts behave like horizontal LLs do.

A bug fix in the horizontal handling of "useLargestChild" was not fixed in the vertical code.
parent 60e8495c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -441,7 +441,7 @@ public class LinearLayout extends ViewGroup {
            i += getChildrenSkipCount(child, i);
        }

        if (useLargestChild) {
        if (useLargestChild && heightMode == MeasureSpec.AT_MOST) {
            mTotalLength = 0;

            for (int i = 0; i < count; ++i) {