Fix accessibility bounds
Follow up to Ifcc5bd7258c00ebd3a64ca4a4edd894e3baf0ccc Bug: 21763049 Change-Id: I3026b22848ef1552e2faa82d9e0f4409d2cba63a
This commit is contained in:
@@ -353,8 +353,8 @@ public abstract class ExpandableView extends FrameLayout {
|
||||
@Override
|
||||
public void getBoundsOnScreen(Rect outRect, boolean clipToParent) {
|
||||
super.getBoundsOnScreen(outRect, clipToParent);
|
||||
outRect.bottom = (int) (outRect.top + getActualHeight());
|
||||
outRect.top += getClipTopAmount();
|
||||
outRect.bottom = outRect.top + getActualHeight();
|
||||
outRect.top += getClipTopOptimization();
|
||||
}
|
||||
|
||||
public int getContentHeight() {
|
||||
|
||||
Reference in New Issue
Block a user