Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0b176bbc authored by Selim Cinek's avatar Selim Cinek Committed by Android (Google) Code Review
Browse files

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

parents b13d7548 0045cc1b
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -103,8 +103,12 @@ public class SpeedBumpView extends ExpandableView implements View.OnClickListene

    @Override
    public int getIntrinsicHeight() {
        if (mCurrentAnimator != null) {
            // expand animation is running
            return getActualHeight();
        }
        return mIsExpanded ? getHeight() : mCollapsedHeight;
    }

    @Override
    protected void onLayout(boolean changed, int left, int top, int right, int bottom) {