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

前端 未结 5 1155
清酒与你
清酒与你 2021-02-01 12:46

Explanation and solution at the bottom.

I am developing one slider layout animation, the animation work fine but when all processes end, they get next E

5条回答
  •  天命终不由人
    2021-02-01 13:06

    Try doing a clean of your project. You must have copy pasted a block of xml from a FrameLayout and changed the tag. This is a nasty bug in android.

    There was a similar issue on another discussion. I hope this is the same cause.

提交回复
热议问题