am 7aca28a2: Merge "Fixed the gap which could occur after the speedbumpview." into lmp-preview-dev

* commit '7aca28a28037b62c8341d91d8ac2b6056cfa8137':
  Fixed the gap which could occur after the speedbumpview.
This commit is contained in:
Selim Cinek
2014-05-26 14:16:32 +00:00
committed by Android Git Automerger

View File

@@ -103,7 +103,11 @@ public class SpeedBumpView extends ExpandableView implements View.OnClickListene
@Override
public int getIntrinsicHeight() {
return getActualHeight();
if (mCurrentAnimator != null) {
// expand animation is running
return getActualHeight();
}
return mIsExpanded ? getHeight() : mCollapsedHeight;
}
@Override