android.widget.FrameLayout$LayoutParams cannot be cast to$LayoutParams

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web5

  • via Stack Overflow by Shijil
  • via Stack Overflow by tgalfer
  • Stack trace

    • java.lang.ClassCastException: android.widget.FrameLayout$LayoutParams cannot be cast to$LayoutParams at$Behavior.isBottomSheet( at$Behavior.onDependentViewChanged( at$Behavior.onDependentViewChanged( at at at$OnPreDrawListener.onPreDraw( at android.view.ViewTreeObserver.dispatchOnPreDraw( at android.view.ViewRootImpl.performTraversals( at android.view.ViewRootImpl.doTraversal( at android.view.ViewRootImpl$ at android.view.Choreographer$ at android.view.Choreographer.doCallbacks( at android.view.Choreographer.doFrame( at android.view.Choreographer$ at android.os.Handler.handleCallback( at android.os.Handler.dispatchMessage( at android.os.Looper.loop(

    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

    Indri YunitaIndri Yunita
    5 times, last one