Fixed the gap which could occur after the speedbumpview.
Bug: 15126099 Change-Id: Ia1724c123296313a706790d3a25ffc1857968b63
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user