am a7b2625d: Merge "Fix for bug 8578258: GridLayout is forcing wrong width to TextView widgets" into jb-mr2-dev

* commit 'a7b2625d43a8e83e3fb47ca261efad6e3f6fcde9':
  Fix for bug 8578258: GridLayout is forcing wrong width to TextView widgets
This commit is contained in:
Philip Milne
2013-04-23 03:51:29 -07:00
committed by Android Git Automerger

View File

@@ -226,7 +226,12 @@ public class RelativeLayout extends ViewGroup {
private boolean mMeasureVerticalWithPaddingMargin = false;
// A default width used for RTL measure pass
private static final int DEFAULT_WIDTH = Integer.MAX_VALUE / 2;
/**
* Value reduced so as not to interfere with View's measurement spec. flags. See:
* {@link View#MEASURED_SIZE_MASK}.
* {@link View#MEASURED_STATE_TOO_SMALL}.
**/
private static final int DEFAULT_WIDTH = 0x008000000;
public RelativeLayout(Context context) {
super(context);