Error inflating class android.support.design.widget.TabLayout

后端 未结 4 375
长发绾君心
长发绾君心 2020-12-03 14:53

I\'m trying to create a menu tab based on Google\'s \"material design\" using Eclipse, but I got an error:

Error inflating class android.support.desig

4条回答
  •  醉梦人生
    2020-12-03 15:19

    I was also getting same error. I resolve the problem by replacing

    Getting error in this code

    
    
    
    


    Use This code to solved above problem mentioned

    
    
    
    

    **If you are using androidx than need to change android.support.design.widget.TabLayout to com.google.android.material.tabs.TabLayout **

提交回复
热议问题