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

Commit c1f9c40c authored by Karl Rosaen's avatar Karl Rosaen
Browse files

Default mBaselineAlignedChildIndex to -1 so it will still be valid when a...

Default mBaselineAlignedChildIndex to -1 so it will still be valid when a LinearLayout is created programatically.

Fixes bug 2038629, and thereby external issue 3484.
parent f2c9b2c0
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.