Error when using any Android Design Support Library Elements

前端 未结 5 1125
小鲜肉
小鲜肉 2020-11-30 03:52

Error inflating anything from the design support library

xml



        
5条回答
  •  無奈伤痛
    2020-11-30 04:37

    Be aware that even if you are using the FloatingActionButton widget that is in the Design Support library, you still have to use srcCompat to reference your icon, if you want the FAB to work on older devices.

    
    

提交回复
热议问题