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

Commit 0045cc1b authored by Selim Cinek's avatar Selim Cinek
Browse files

Fixed the gap which could occur after the speedbumpview.

Bug: 15126099
Change-Id: Ia1724c123296313a706790d3a25ffc1857968b63
parent 5bfee498
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) {