Merge change 21032

* changes:
  Default mBaselineAlignedChildIndex to -1 so it will still be valid when a LinearLayout is created programatically.
This commit is contained in:
Android (Google) Code Review
2009-08-12 17:23:22 -07:00

View File

@@ -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.