Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a7b2625d authored by Philip Milne's avatar Philip Milne Committed by Android (Google) Code Review
Browse files

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

parents 8d3f3c06 ca2e9e11
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -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);