Merge change I4a4323c0 into eclair-mr2
* changes: Fixes scroll/measure bug in EditText
This commit is contained in:
@ -5198,7 +5198,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
|
|||||||
mDesiredHeightAtMeasure = desired;
|
mDesiredHeightAtMeasure = desired;
|
||||||
|
|
||||||
if (heightMode == MeasureSpec.AT_MOST) {
|
if (heightMode == MeasureSpec.AT_MOST) {
|
||||||
height = Math.min(desired, height);
|
height = Math.min(desired, heightSize);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user