Merge "Bring back buttons in dialogs. Bug #2390537"

This commit is contained in:
Romain Guy
2010-01-22 11:01:42 -08:00
committed by Android (Google) Code Review
2 changed files with 165 additions and 2 deletions

View File

@@ -754,7 +754,7 @@ public class LinearLayout extends ViewGroup {
maxHeight = Math.max(maxHeight, ascent + descent);
}
if (useLargestChild) {
if (useLargestChild && widthMode == MeasureSpec.AT_MOST) {
mTotalLength = 0;
for (int i = 0; i < count; ++i) {