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

Commit 7c5ab2b0 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 21032

* changes:
  Default mBaselineAlignedChildIndex to -1 so it will still be valid when a LinearLayout is created programatically.
parents 090f47bf c1f9c40c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -59,7 +59,7 @@ public class LinearLayout extends ViewGroup {
     * Note: this is orthogonal to {@link #mBaselineAligned}, which is concerned
     * with whether the children of this layout are baseline aligned.
     */
    private int mBaselineAlignedChildIndex = 0;
    private int mBaselineAlignedChildIndex = -1;

    /**
     * The additional offset to the child's baseline.