Merge "Fix typo bug in FrameLayout's measurement code. Bug #3327185" into honeycomb

This commit is contained in:
Romain Guy
2011-01-07 11:00:20 -08:00
committed by Android (Google) Code Review

View File

@@ -321,7 +321,7 @@ public class FrameLayout extends ViewGroup {
mPaddingTop - mPaddingBottom - lp.topMargin - lp.bottomMargin,
MeasureSpec.EXACTLY);
} else {
childHeightMeasureSpec = getChildMeasureSpec(widthMeasureSpec,
childHeightMeasureSpec = getChildMeasureSpec(heightMeasureSpec,
mPaddingTop + mPaddingBottom + lp.topMargin + lp.bottomMargin,
lp.height);
}