summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Android (Google) Code Review <android-gerrit@google.com> 2009-08-12 17:23:22 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2009-08-12 17:23:22 -0700
commit7c5ab2b06abef08c7fa8310a3fa591e823eefc6c (patch)
tree97633b749a58fe1d94417a8fb59c4d6ce4592719
parent090f47bf15cdc3d628afb699ad214881af129d9f (diff)
parentc1f9c40c23a756a11394a35f37053f796494b224 (diff)
Merge change 21032
* changes: Default mBaselineAlignedChildIndex to -1 so it will still be valid when a LinearLayout is created programatically.
-rw-r--r--core/java/android/widget/LinearLayout.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/widget/LinearLayout.java b/core/java/android/widget/LinearLayout.java
index a9822f8bc2ce..6cc794b97ac9 100644
--- a/core/java/android/widget/LinearLayout.java
+++ b/core/java/android/widget/LinearLayout.java
@@ -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.