java.lang.IllegalArgumentException

Rect should intersect with child's bounds.

Solutions on the web3110

  • via GitHub by AmoliShah
    , 9 months ago
    Rect should intersect with child's bounds.
  • via GitHub by d4rken
    , 10 months ago
    Rect should intersect with child's bounds.
  • Stack trace

    • java.lang.IllegalArgumentException: Rect should intersect with child's bounds. at android.support.design.widget.CoordinatorLayout.offsetChildByInset(CoordinatorLayout.java:1319) at android.support.design.widget.CoordinatorLayout.onChildViewsChanged(CoordinatorLayout.java:1257) at android.support.design.widget.CoordinatorLayout$OnPreDrawListener.onPreDraw(CoordinatorLayout.java:1805) at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:944) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2213) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1258) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6348) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:871) at android.view.Choreographer.doCallbacks(Choreographer.java:683) at android.view.Choreographer.doFrame(Choreographer.java:619) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:857) at android.os.Handler.handleCallback(Handler.java:751) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:154) at android.app.ActivityThread.main(ActivityThread.java:6123) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:757)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    6 times, 6 months ago