am b44f5486: Fix accessibility bounds

* commit 'b44f5486ef7c2e169d5a65eb159a1d842d9c3d51':
  Fix accessibility bounds
This commit is contained in:
Adrian Roos
2015-06-11 22:04:54 +00:00
committed by Android Git Automerger

View File

@@ -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() {