@Override
        protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
            measureChildren(widthMeasureSpec, heightMeasureSpec);
            int widthSize = MeasureSpec.getSize(widthMeasureSpec);
            int heightSie = mMarker.getMeasuredHeight();
            setMeasuredDimension(widthSize, heightSie);
        }
Small FrameLayout class to hold and move the bubble around when requested
I wanted to use the {@link Marker} directly
but doing so would make some things harder to implement
(like moving the marker around, having the Marker's outline to work, etc)
app/src/main/java/com/duan/musicoco/view/discreteseekbar/internal/PopupIndicator.java