InflateException: Binary XML file line #1: Error inflating class caused by OutOfMemoryError

前端 未结 10 1717
梦如初夏
梦如初夏 2020-11-27 05:59

Here is my code:

input.xml (layout folder)



        
10条回答
  •  温柔的废话
    2020-11-27 06:37

    Well, in my case the answer was in xml design, conflict android:backgroundTint and android:tint

    I was design a FloatinActionButton like this:

    
    

    and it's ok but API > 23

    If u design for API_LEVEL < 23, this it's the fix

    
    

    I hope I have help you,

    Regards

提交回复
热议问题